--- # 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 sharry namespace: default spec: interval: 30m chart: spec: chart: app-template version: 1.5.1 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: initContainers: 01-init-db: image: ghcr.io/auricom/postgres-init:15.4 imagePullPolicy: IfNotPresent envFrom: &envFrom - secretRef: name: &secret sharry-secret controller: annotations: reloader.stakater.com/auto: "true" image: repository: eikek0/sharry tag: v1.12.1 args: - "/opt/sharry.conf" service: main: ports: http: port: 9090 ingress: main: enabled: true ingressClassName: "nginx" annotations: external-dns.home.arpa/enabled: "true" nginx.ingress.kubernetes.io/proxy-body-size: "0" hajimari.io/icon: mdi:account-arrow-up hosts: - host: &host "{{ .Release.Name }}.${SECRET_CLUSTER_DOMAIN}" paths: - path: / pathType: Prefix tls: - hosts: - *host resources: requests: cpu: 50m memory: 250Mi limits: memory: 1Gi persistence: config: enabled: true type: configMap name: sharry-configmap mountPath: /opt/sharry.conf subPath: sharry.conf