- 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
13 lines
403 B
YAML
13 lines
403 B
YAML
{{- if .Values.rustical.config }}
|
|
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: {{ include "rustical.fullname" . }}-config
|
|
labels:
|
|
{{- include "rustical.labels" . | nindent 4 }}
|
|
data:
|
|
{{- range $key, $value := .Values.rustical.config }}
|
|
{{- $envKey := printf "RUSTICAL_%s" ($key | upper | replace "." "__" | replace "-" "_") }}
|
|
{{ $envKey }}: {{ $value | quote }}
|
|
{{- end }}
|
|
{{- end }}
|