--- # yaml-language-server: $schema=https://kubernetes-schemas.devbu.io/helmrelease_v2beta1.json apiVersion: helm.toolkit.fluxcd.io/v2beta1 kind: HelmRelease metadata: name: &app vikunja namespace: default spec: interval: 15m chart: spec: chart: app-template version: 1.5.1 sourceRef: kind: HelmRepository name: bjw-s namespace: flux-system maxHistory: 3 install: createNamespace: true remediation: retries: 3 upgrade: cleanupOnFail: true remediation: retries: 3 uninstall: keepHistory: false values: controller: replicas: 1 strategy: Recreate image: repository: caddy tag: 2.6.4-alpine envFrom: - secretRef: name: *app service: main: ports: http: port: 8080 ingress: main: enabled: true ingressClassName: "nginx" annotations: external-dns.home.arpa/enabled: "true" hajimari.io/icon: mdi:format-list-checks hosts: - host: &host "{{ .Release.Name }}.${SECRET_CLUSTER_DOMAIN}" paths: - path: / pathType: Prefix tls: - hosts: - *host persistence: files: enabled: true existingClaim: vikunja-files mountpath: /app/vikunja/files caddy-config: enabled: "true" mountPath: /etc/caddy/Caddyfile subPath: Caddyfile type: "custom" volumeSpec: configMap: name: *app vikunja-config: enabled: "true" mountPath: /etc/vikunja/config.yml subPath: Vikunja.yaml type: "custom" volumeSpec: configMap: name: *app podAnnotations: configMap.reloader.stakater.com/reload: *app secret.reloader.stakater.com/reload: *app resources: requests: cpu: 5m memory: 10Mi limits: memory: 100Mi additionalContainers: api: name: api image: vikunja/api:0.20.4 imagePullPolicy: IfNotPresent env: - name: VIKUNJA_SERVICE_JWTSECRET valueFrom: secretKeyRef: name: vikunja key: VIKUNJA_SERVICE_JWTSECRET - name: VIKUNJA_DATABASE_TYPE value: postgres - name: VIKUNJA_DATABASE_HOST value: ${POSTGRES_HOST} - name: VIKUNJA_DATABASE_DATABASE value: vikunja - name: VIKUNJA_DATABASE_USER valueFrom: secretKeyRef: name: vikunja key: VIKUNJA_DATABASE_USER - name: VIKUNJA_DATABASE_PASSWORD valueFrom: secretKeyRef: name: vikunja key: VIKUNJA_DATABASE_PASSWORD volumeMounts: - name: vikunja-config mountPath: /etc/vikunja/config.yml subPath: Vikunja.yaml frontend: name: frontend image: vikunja/frontend:0.20.5 imagePullPolicy: IfNotPresent