fukuops/k8s/charts/helm-rustical/templates/configmap.yaml
cătălin 1fd2bfef3d
feat(helm): complete chart normalization with ConfigMap, HPA, and OCI migration
- 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
2026-08-14 09:35:19 +02:00

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 }}