Browse Source

Chart: Remove duplicate initcontainer reference

This PS removes a duplicate initcontainer key and values from
the rack controller template.

Change-Id: I18b157b9cf7256e7acc574da9cdfecbe51dc13d6
Signed-off-by: Pete Birley <pete@port.direct>
Pete Birley 8 months ago
parent
commit
c585c525bc
1 changed files with 1 additions and 3 deletions
  1. 1
    3
      charts/maas/templates/statefulset-rack.yaml

+ 1
- 3
charts/maas/templates/statefulset-rack.yaml View File

@@ -49,12 +49,10 @@ spec:
49 49
 {{ tuple $envAll "maas" "rack" | include "helm-toolkit.snippets.kubernetes_pod_anti_affinity" | indent 8 }}
50 50
       nodeSelector:
51 51
         {{ .Values.labels.rack.node_selector_key }}: {{ .Values.labels.rack.node_selector_value }}
52
-      initContainers:
53
-{{ tuple $envAll $dependencies $mounts_maas_rack_init | include "helm-toolkit.snippets.kubernetes_entrypoint_init_container" | indent 8 }}
54 52
       hostNetwork: true
55 53
       dnsPolicy: ClusterFirst
56 54
       initContainers:
57
-{{ tuple $envAll $dependencies list | include "helm-toolkit.snippets.kubernetes_entrypoint_init_container" | indent 8 }}
55
+{{ tuple $envAll $dependencies $mounts_maas_rack_init | include "helm-toolkit.snippets.kubernetes_entrypoint_init_container" | indent 8 }}
58 56
       containers:
59 57
         - name: maas-rack
60 58
           image: {{ .Values.images.tags.maas_rack }}

Loading…
Cancel
Save