--- # yaml-language-server: $schema=https://raw.githubusercontent.com/fluxcd-community/flux2-schemas/main/helmrelease-helm-v2beta1.json apiVersion: helm.toolkit.fluxcd.io/v2beta1 kind: HelmRelease metadata: name: &app babybuddy namespace: default spec: interval: 30m chart: spec: chart: app-template version: 2.3.0 sourceRef: kind: HelmRepository name: bjw-s namespace: flux-system maxHistory: 2 install: createNamespace: true remediation: retries: 3 upgrade: cleanupOnFail: true remediation: retries: 3 uninstall: keepHistory: false values: controllers: main: annotations: reloader.stakater.com/auto: "true" type: statefulset initContainers: 01-init-db: image: repository: ghcr.io/auricom/postgres-init tag: 15.5@sha256:a337602f0dc11ee0e7f819ede78fa1a13e40a52adad737353efe10ce265a4b36 pullPolicy: IfNotPresent envFrom: &envFrom - secretRef: name: babybuddy-secret 02-migrations: image: repository: ghcr.io/auricom/babybuddy tag: 2.1.2@sha256:fb737a819ee5666a8ffe526d4233fd9753ceca242307d8fb3df94c641b3ce3a5 pullPolicy: IfNotPresent envFrom: *envFrom command: - "/bin/bash" - "-c" - | #!/bin/bash set -o errexit set -o nounset cd www/public python3 ./manage.py migrate --noinput python3 ./manage.py createcachetable containers: main: image: repository: ghcr.io/auricom/babybuddy tag: 2.1.2@sha256:fb737a819ee5666a8ffe526d4233fd9753ceca242307d8fb3df94c641b3ce3a5 env: TZ: ${TIMEZONE} EMAIL_HOST: smtp-relay.default.svc.cluster.local. EMAIL_PORT: "2525" EMAIL_USE_TLS: "false" envFrom: *envFrom resources: requests: cpu: 100m memory: 256Mi statefulset: volumeClaimTemplates: - name: config accessMode: ReadWriteOnce size: 1Gi storageClass: rook-ceph-block globalMounts: - path: /config service: main: ports: http: port: 3000 ingress: main: enabled: true className: "nginx" annotations: hajimari.io/icon: mdi:baby-face-outline hosts: - host: &host "{{ .Release.Name }}.${SECRET_CLUSTER_DOMAIN}" paths: - path: / pathType: Prefix service: name: main tls: - hosts: - *host