--- # yaml-language-server: $schema=https://kubernetes-schemas.pages.dev/helm.toolkit.fluxcd.io/helmrelease_v2.json apiVersion: helm.toolkit.fluxcd.io/v2 kind: HelmRelease metadata: name: &app homepage spec: interval: 30m chart: spec: chart: app-template version: 3.5.1 sourceRef: kind: HelmRepository name: bjw-s namespace: flux-system install: remediation: retries: 3 upgrade: cleanupOnFail: true remediation: strategy: rollback retries: 3 values: controllers: homepage: annotations: configmap.reloader.stakater.com/reload: *app secret.reloader.stakater.com/reload: *app containers: app: image: repository: ghcr.io/gethomepage/homepage tag: v0.9.11@sha256:d41dca72f3a68d2c675eb232a448104af200096f05e2610ffbfdb16bc7f71410 env: TZ: "${TIMEZONE}" envFrom: - secretRef: name: *app securityContext: allowPrivilegeEscalation: false readOnlyRootFilesystem: true capabilities: { drop: ["ALL"] } resources: requests: cpu: 10m memory: 128Mi limits: memory: 768Mi defaultPodOptions: securityContext: runAsNonRoot: true runAsUser: 568 runAsGroup: 568 fsGroup: 568 fsGroupChangePolicy: OnRootMismatch seccompProfile: { type: RuntimeDefault } service: app: controller: *app ports: http: port: 3000 serviceAccount: create: true name: *app ingress: app: className: internal annotations: external-dns.alpha.kubernetes.io/target: internal.${SECRET_INTERNAL_DOMAIN} hosts: - host: "home.${SECRET_INTERNAL_DOMAIN}" paths: - path: / pathType: Prefix service: identifier: app port: http persistence: logs: type: emptyDir globalMounts: - path: /app/config/logs config: type: emptyDir globalMounts: - path: /app/config # services: # type: secret # name: *app # globalMounts: # - subPath: services.yaml # path: /app/config/services.yaml # readOnly: true configmap: type: configMap name: *app globalMounts: - subPath: bookmarks.yaml path: /app/config/bookmarks.yaml readOnly: true - subPath: docker.yaml path: /app/config/docker.yaml readOnly: true - subPath: kubernetes.yaml path: /app/config/kubernetes.yaml readOnly: true - subPath: settings.yaml path: /app/config/settings.yaml readOnly: true - subPath: widgets.yaml path: /app/config/widgets.yaml readOnly: true