Replace Homepage Helm chart with kustomize manifests and custom Dockerfile (#221)
## Summary
- Replace third-party Helm chart (jameswynn/homepage v2.1.0, pinned at app v1.2.0) with plain kustomize manifests and a custom Dockerfile building from forge mirror at v1.10.1
- Adds Dockerfile (`containers/homepage/`) with multi-stage build (node:22-slim builder, node:22-alpine runtime)
- Creates kustomize manifests: Deployment, Service, ConfigMap (6 config files), ServiceAccount, ClusterRole, ClusterRoleBinding
- Keeps existing ingress-tailscale.yaml and all 6 ExternalSecret resources unchanged
- Updates ArgoCD app definition from multi-source Helm to single directory source
## Prerequisite
- Homepage source mirrored at forge.ops.eblu.me/eblume/homepage.git ✅
- Container must be built and pushed before syncing: `mise run container-release homepage v1.10.1`
## Deployment and Testing
- [ ] Build and push container image: `mise run container-release homepage v1.10.1`
- [ ] Branch-test via ArgoCD: `argocd app set homepage --revision feature/homepage-kustomize && argocd app sync homepage`
- [ ] Verify dashboard loads at go.ops.eblu.me / go.tail8d86e.ts.net
- [ ] Verify k8s autodiscovery works (services appear on dashboard)
- [ ] Verify widgets load (weather, Forgejo, Jellyfin, etc.)
- [ ] After merge: `argocd app set homepage --revision main && argocd app sync homepage`
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Reviewed-on: https://forge.ops.eblu.me/eblume/blumeops/pulls/221
2026-02-19 18:29:19 -08:00
|
|
|
apiVersion: apps/v1
|
|
|
|
|
kind: Deployment
|
|
|
|
|
metadata:
|
|
|
|
|
name: homepage
|
|
|
|
|
namespace: homepage
|
|
|
|
|
spec:
|
|
|
|
|
replicas: 1
|
|
|
|
|
selector:
|
|
|
|
|
matchLabels:
|
|
|
|
|
app: homepage
|
|
|
|
|
template:
|
|
|
|
|
metadata:
|
|
|
|
|
labels:
|
|
|
|
|
app: homepage
|
|
|
|
|
spec:
|
|
|
|
|
serviceAccountName: homepage
|
|
|
|
|
securityContext:
|
|
|
|
|
runAsUser: 1000
|
|
|
|
|
runAsGroup: 1000
|
|
|
|
|
fsGroup: 1000
|
2026-03-24 16:19:40 -07:00
|
|
|
seccompProfile:
|
|
|
|
|
type: RuntimeDefault
|
Replace Homepage Helm chart with kustomize manifests and custom Dockerfile (#221)
## Summary
- Replace third-party Helm chart (jameswynn/homepage v2.1.0, pinned at app v1.2.0) with plain kustomize manifests and a custom Dockerfile building from forge mirror at v1.10.1
- Adds Dockerfile (`containers/homepage/`) with multi-stage build (node:22-slim builder, node:22-alpine runtime)
- Creates kustomize manifests: Deployment, Service, ConfigMap (6 config files), ServiceAccount, ClusterRole, ClusterRoleBinding
- Keeps existing ingress-tailscale.yaml and all 6 ExternalSecret resources unchanged
- Updates ArgoCD app definition from multi-source Helm to single directory source
## Prerequisite
- Homepage source mirrored at forge.ops.eblu.me/eblume/homepage.git ✅
- Container must be built and pushed before syncing: `mise run container-release homepage v1.10.1`
## Deployment and Testing
- [ ] Build and push container image: `mise run container-release homepage v1.10.1`
- [ ] Branch-test via ArgoCD: `argocd app set homepage --revision feature/homepage-kustomize && argocd app sync homepage`
- [ ] Verify dashboard loads at go.ops.eblu.me / go.tail8d86e.ts.net
- [ ] Verify k8s autodiscovery works (services appear on dashboard)
- [ ] Verify widgets load (weather, Forgejo, Jellyfin, etc.)
- [ ] After merge: `argocd app set homepage --revision main && argocd app sync homepage`
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Reviewed-on: https://forge.ops.eblu.me/eblume/blumeops/pulls/221
2026-02-19 18:29:19 -08:00
|
|
|
containers:
|
|
|
|
|
- name: homepage
|
2026-03-06 08:15:06 -08:00
|
|
|
image: registry.ops.eblu.me/blumeops/homepage:kustomized
|
Replace Homepage Helm chart with kustomize manifests and custom Dockerfile (#221)
## Summary
- Replace third-party Helm chart (jameswynn/homepage v2.1.0, pinned at app v1.2.0) with plain kustomize manifests and a custom Dockerfile building from forge mirror at v1.10.1
- Adds Dockerfile (`containers/homepage/`) with multi-stage build (node:22-slim builder, node:22-alpine runtime)
- Creates kustomize manifests: Deployment, Service, ConfigMap (6 config files), ServiceAccount, ClusterRole, ClusterRoleBinding
- Keeps existing ingress-tailscale.yaml and all 6 ExternalSecret resources unchanged
- Updates ArgoCD app definition from multi-source Helm to single directory source
## Prerequisite
- Homepage source mirrored at forge.ops.eblu.me/eblume/homepage.git ✅
- Container must be built and pushed before syncing: `mise run container-release homepage v1.10.1`
## Deployment and Testing
- [ ] Build and push container image: `mise run container-release homepage v1.10.1`
- [ ] Branch-test via ArgoCD: `argocd app set homepage --revision feature/homepage-kustomize && argocd app sync homepage`
- [ ] Verify dashboard loads at go.ops.eblu.me / go.tail8d86e.ts.net
- [ ] Verify k8s autodiscovery works (services appear on dashboard)
- [ ] Verify widgets load (weather, Forgejo, Jellyfin, etc.)
- [ ] After merge: `argocd app set homepage --revision main && argocd app sync homepage`
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Reviewed-on: https://forge.ops.eblu.me/eblume/blumeops/pulls/221
2026-02-19 18:29:19 -08:00
|
|
|
securityContext:
|
|
|
|
|
runAsNonRoot: true
|
|
|
|
|
allowPrivilegeEscalation: false
|
|
|
|
|
ports:
|
|
|
|
|
- containerPort: 3000
|
|
|
|
|
name: http
|
|
|
|
|
env:
|
|
|
|
|
- name: HOMEPAGE_ALLOWED_HOSTS
|
|
|
|
|
value: "go.tail8d86e.ts.net,go.ops.eblu.me"
|
|
|
|
|
# Weather widget
|
|
|
|
|
- name: HOMEPAGE_VAR_OPENWEATHERMAP_API_KEY
|
|
|
|
|
valueFrom:
|
|
|
|
|
secretKeyRef:
|
|
|
|
|
name: homepage-openweathermap
|
|
|
|
|
key: apikey
|
|
|
|
|
# Jellyfin widget
|
|
|
|
|
- name: HOMEPAGE_VAR_JELLYFIN_API_KEY
|
|
|
|
|
valueFrom:
|
|
|
|
|
secretKeyRef:
|
|
|
|
|
name: homepage-jellyfin
|
|
|
|
|
key: apikey
|
|
|
|
|
# Miniflux widget
|
|
|
|
|
- name: HOMEPAGE_VAR_MINIFLUX_API_KEY
|
|
|
|
|
valueFrom:
|
|
|
|
|
secretKeyRef:
|
|
|
|
|
name: homepage-miniflux
|
|
|
|
|
key: apikey
|
|
|
|
|
# Grafana widget
|
|
|
|
|
- name: HOMEPAGE_VAR_GRAFANA_USERNAME
|
|
|
|
|
valueFrom:
|
|
|
|
|
secretKeyRef:
|
|
|
|
|
name: homepage-grafana
|
|
|
|
|
key: username
|
|
|
|
|
- name: HOMEPAGE_VAR_GRAFANA_PASSWORD
|
|
|
|
|
valueFrom:
|
|
|
|
|
secretKeyRef:
|
|
|
|
|
name: homepage-grafana
|
|
|
|
|
key: password
|
|
|
|
|
# Forgejo widget
|
|
|
|
|
- name: HOMEPAGE_VAR_FORGEJO_API_KEY
|
|
|
|
|
valueFrom:
|
|
|
|
|
secretKeyRef:
|
|
|
|
|
name: homepage-forgejo
|
|
|
|
|
key: apikey
|
|
|
|
|
# Navidrome widget
|
|
|
|
|
- name: HOMEPAGE_VAR_NAVIDROME_USER
|
|
|
|
|
valueFrom:
|
|
|
|
|
secretKeyRef:
|
|
|
|
|
name: homepage-navidrome
|
|
|
|
|
key: user
|
|
|
|
|
- name: HOMEPAGE_VAR_NAVIDROME_SALT
|
|
|
|
|
valueFrom:
|
|
|
|
|
secretKeyRef:
|
|
|
|
|
name: homepage-navidrome
|
|
|
|
|
key: salt
|
|
|
|
|
- name: HOMEPAGE_VAR_NAVIDROME_TOKEN
|
|
|
|
|
valueFrom:
|
|
|
|
|
secretKeyRef:
|
|
|
|
|
name: homepage-navidrome
|
|
|
|
|
key: token
|
|
|
|
|
volumeMounts:
|
|
|
|
|
- name: config
|
|
|
|
|
mountPath: /app/config/bookmarks.yaml
|
|
|
|
|
subPath: bookmarks.yaml
|
|
|
|
|
- name: config
|
|
|
|
|
mountPath: /app/config/services.yaml
|
|
|
|
|
subPath: services.yaml
|
|
|
|
|
- name: config
|
|
|
|
|
mountPath: /app/config/widgets.yaml
|
|
|
|
|
subPath: widgets.yaml
|
|
|
|
|
- name: config
|
|
|
|
|
mountPath: /app/config/kubernetes.yaml
|
|
|
|
|
subPath: kubernetes.yaml
|
|
|
|
|
- name: config
|
|
|
|
|
mountPath: /app/config/docker.yaml
|
|
|
|
|
subPath: docker.yaml
|
|
|
|
|
- name: config
|
|
|
|
|
mountPath: /app/config/settings.yaml
|
|
|
|
|
subPath: settings.yaml
|
|
|
|
|
resources:
|
|
|
|
|
requests:
|
|
|
|
|
memory: "128Mi"
|
|
|
|
|
cpu: "100m"
|
|
|
|
|
limits:
|
|
|
|
|
memory: "512Mi"
|
|
|
|
|
cpu: "500m"
|
|
|
|
|
livenessProbe:
|
|
|
|
|
httpGet:
|
|
|
|
|
path: /api/healthcheck
|
|
|
|
|
port: 3000
|
|
|
|
|
httpHeaders:
|
|
|
|
|
- name: Host
|
|
|
|
|
value: go.ops.eblu.me
|
|
|
|
|
initialDelaySeconds: 20
|
|
|
|
|
periodSeconds: 30
|
|
|
|
|
readinessProbe:
|
|
|
|
|
httpGet:
|
|
|
|
|
path: /api/healthcheck
|
|
|
|
|
port: 3000
|
|
|
|
|
httpHeaders:
|
|
|
|
|
- name: Host
|
|
|
|
|
value: go.ops.eblu.me
|
|
|
|
|
initialDelaySeconds: 10
|
|
|
|
|
periodSeconds: 10
|
|
|
|
|
volumes:
|
|
|
|
|
- name: config
|
|
|
|
|
configMap:
|
|
|
|
|
name: homepage-config
|