--- # yaml-language-server: $schema=https://raw.githubusercontent.com/bjw-s/helm-charts/main/charts/other/app-template/schemas/helmrelease-helm-v2.schema.json apiVersion: helm.toolkit.fluxcd.io/v2 kind: HelmRelease metadata: name: &app homepage namespace: default spec: interval: 30m chart: spec: chart: app-template version: 3.5.1 sourceRef: kind: HelmRepository name: bjw-s namespace: flux-system maxHistory: 2 install: createNamespace: true remediation: retries: 3 upgrade: cleanupOnFail: true remediation: strategy: rollback retries: 3 uninstall: keepHistory: false values: controllers: homepage: replicas: 2 strategy: RollingUpdate annotations: reloader.stakater.com/auto: "true" containers: app: image: repository: ghcr.io/gethomepage/homepage tag: v0.9.13@sha256:1504b26bd82523e68adbae8c5a908d1633d02c68c65b62d084d81a6866552db6 env: TZ: ${TIMEZONE} envFrom: - secretRef: name: homepage-secret probes: liveness: enabled: true readiness: enabled: true resources: requests: cpu: 15m memory: 200M limits: memory: 2G service: app: controller: *app ports: http: port: 3000 serviceAccount: create: true name: *app ingress: app: enabled: true className: nginx hosts: - host: &host "{{ .Release.Name }}.${SECRET_EXTERNAL_DOMAIN}" paths: - path: / service: identifier: app port: http tls: - hosts: - *host persistence: config: type: configMap name: homepage-config globalMounts: - subPath: bookmarks.yaml path: /app/config/bookmarks.yaml - subPath: docker.yaml path: /app/config/docker.yaml - subPath: kubernetes.yaml path: /app/config/kubernetes.yaml - subPath: services.yaml path: /app/config/services.yaml - subPath: settings.yaml path: /app/config/settings.yaml - subPath: widgets.yaml path: /app/config/widgets.yaml