--- # yaml-language-server: $schema=https://raw.githubusercontent.com/bjw-s/helm-charts/main/charts/other/app-template/schemas/helmrelease-helm-v2beta2.schema.json apiVersion: helm.toolkit.fluxcd.io/v2beta2 kind: HelmRelease metadata: name: &app capacitor spec: interval: 30m chart: spec: chart: app-template version: 3.0.4 sourceRef: kind: HelmRepository name: bjw-s namespace: flux-system install: remediation: retries: 3 upgrade: cleanupOnFail: true remediation: strategy: rollback retries: 3 uninstall: keepHistory: false values: controllers: capacitor: strategy: RollingUpdate containers: app: image: repository: ghcr.io/gimlet-io/capacitor tag: v0.3.3 resources: requests: cpu: 50m memory: 100Mi ephemeral-storage: 1Gi limits: memory: 200Mi ephemeral-storage: 2Gi securityContext: allowPrivilegeEscalation: false readOnlyRootFilesystem: true capabilities: {drop: [ALL]} serviceAccount: create: true name: "capacitor" service: app: controller: *app ports: http: enabled: true port: 9000 ingress: app: enabled: true className: nginx annotations: hajimari.io/icon: mdi:sync hosts: - host: &host "{{ .Release.Name }}.${SECRET_CLUSTER_DOMAIN}" paths: - path: / service: identifier: app port: http tls: - hosts: - *host