fix: move range
This commit is contained in:
4 files changed
+10
-5
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 }}
|
||||
|
||||
{{- $mappings := dict }}
|
||||
{{- if eq $processName "web" }}
|
||||
{{- range $pdx, $port_map := $config.web.port_maps }}
|
||||
@@ -143,3 +147,4 @@ spec:
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
Reference in new issue
Block a user