fix: index the process map to ensure the correct config is pulled

Without this change, certain generated process names - like those for a cron job - may be incorrectly handled when indexing the process map.
This commit is contained in:
Jose Diaz-Gonzalez committed 2024-02-06 04:41:14 -05:00
1 parent 4abd1f6b24
commit d7ff8552d1
6 files changed
+6 -6

No files matched your search

@@ -1,5 +1,5 @@
{{- $processName := "PROCESS_NAME" }}
{{- $config := .Values.processes.PROCESS_NAME }}
{{- $config := index .Values.processes "PROCESS_NAME" }}
---
apiVersion: apps/v1
kind: Deployment