diff --git a/common/templates/snippets/_k8s_init_dep_check.tpl b/common/templates/snippets/_k8s_init_dep_check.tpl index d6ba9a2014..b918b10d74 100644 --- a/common/templates/snippets/_k8s_init_dep_check.tpl +++ b/common/templates/snippets/_k8s_init_dep_check.tpl @@ -9,7 +9,7 @@ { "name": "POD_NAME", {{- if $deps.pod -}} - "value": "{{- $deps.pod . 1 -}}" + "value": "{{ index $deps.pod 0 }}" {{- else -}} "valueFrom": { "fieldRef": { @@ -46,7 +46,7 @@ }, { "name": "DEPENDENCY_CONTAINER", - "value": "{{ include "joinListWithColon" $deps.container }}" + "value": "{{ include "joinListWithComma" $deps.container }}" }, { "name": "COMMAND", diff --git a/maas/values.yaml b/maas/values.yaml index 837d992f23..fe65b90fad 100644 --- a/maas/values.yaml +++ b/maas/values.yaml @@ -14,7 +14,7 @@ database: dependencies: import_resources: - pod: + pod: - maas-region-0 container: - maas-region