- Added debug mode, structured ConfigMap pattern, and README to all charts - Migrated all flat-structure charts to hierarchical values under chartname key - Fixed templates to use correct hierarchical paths - Renamed helm-rustical key to rustical, added HPA support - Fixed ingress YAML parsing (oxicloud), nested env vars (rustical) - Pushed all normalized charts to OCI registry as 1.0.0+ and updated ArgoCD apps
25 lines
903 B
YAML
25 lines
903 B
YAML
{{- if and .Values.immich.secret.enabled (not .Values.immich.secret.existingSecretName) -}}
|
|
apiVersion: v1
|
|
kind: Secret
|
|
metadata:
|
|
name: {{ include "immich.fullname" . }}
|
|
labels:
|
|
{{- include "immich.labels" . | nindent 4 }}
|
|
type: Opaque
|
|
stringData:
|
|
{{- if .Values.immich.config.database.password }}
|
|
DB_PASSWORD: {{ .Values.immich.config.database.password | quote }}
|
|
{{- end }}
|
|
{{- if .Values.immich.config.database.username }}
|
|
DB_USERNAME: {{ .Values.immich.config.database.username | quote }}
|
|
{{- end }}
|
|
{{- if .Values.immich.config.redis.password }}
|
|
REDIS_PASSWORD: {{ .Values.immich.config.redis.password | quote }}
|
|
{{- end }}
|
|
{{- if .Values.immich.config.redis.username }}
|
|
REDIS_USERNAME: {{ .Values.immich.config.redis.username | quote }}
|
|
{{- end }}
|
|
{{- range $key, $value := .Values.immich.secret.data }}
|
|
{{ $key }}: {{ $value | quote }}
|
|
{{- end }}
|
|
{{- end }}
|