refactor use chart values directly instead of attempting to template out cron-job and keda files

This commit is contained in:
Jose Diaz-Gonzalez committed 2025-07-04 04:24:09 -04:00
1 parent 1b95e01ea3
commit c472c2a3c7
9 files changed
+58 -19

No files matched your search

@@ -1,5 +1,9 @@
{{- $processName := "PROCESS_NAME" }}
{{- $config := index .Values.processes "PROCESS_NAME" }}
{{- range $processName, $config := .Values.processes }}
# Skip cron jobs
{{- if and (hasKey $config "cron") (hasKey $config.cron "id") }}
{{- continue }}
{{- end }}
{{- if and $config.web.tls.enabled $config.web.domains }}
---
apiVersion: cert-manager.io/v1
@@ -34,3 +38,4 @@ spec:
- {{ $domain.name }}
{{- end }}
{{- end }}
{{- end }}