--- # yaml-language-server: $schema=https://kubernetes-schemas.devbu.io/helmrelease_v2beta1.json apiVersion: helm.toolkit.fluxcd.io/v2beta1 kind: HelmRelease metadata: name: &app tandoor namespace: default spec: interval: 15m chart: spec: chart: app-template version: 1.3.2 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: image: repository: vabene1111/recipes tag: "1.4.7" envFrom: - secretRef: name: *app service: main: ports: http: port: 80 ingress: main: enabled: true ingressClassName: "nginx" annotations: hajimari.io/icon: mdi:chef-hat hosts: - host: &host "{{ .Release.Name }}.${SECRET_CLUSTER_DOMAIN}" paths: - path: / pathType: Prefix - host: &host2 "recipes.${SECRET_CLUSTER_DOMAIN}" paths: - path: / pathType: Prefix tls: - hosts: - *host - *host2 persistence: files: enabled: true existingClaim: tandoor-files mountPath: /opt/recipes/mediafiles nginx-config: enabled: "true" mountPath: /etc/nginx/nginx.conf subPath: nginx-config type: "custom" volumeSpec: configMap: name: *app static: enabled: true mountPath: /opt/recipes/staticfiles type: emptyDir podSecurityContext: runAsUser: 0 podAnnotations: configMap.reloader.stakater.com/reload: *app secret.reloader.stakater.com/reload: *app securityContext: runAsUser: 65534 resources: requests: cpu: 100m memory: 256Mi limits: memory: 512Mi additionalContainers: nginx: name: nginx image: nginx:1.23.3 imagePullPolicy: IfNotPresent ports: - name: http containerPort: 80 protocol: TCP volumeMounts: - name: nginx-config readOnly: true mountPath: /etc/nginx/nginx.conf subPath: nginx-config - name: files mountPath: /media - name: static mountPath: /static