summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPete Birley <pete@port.direct>2018-08-22 21:38:03 -0500
committerPete Birley <pete@port.direct>2018-08-22 21:38:03 -0500
commitc585c525bc8f50bf0e5d8b2e7b5108ae4456d6fb (patch)
treee42aaa4b818ca2cb0e51bc26ee55ba8dfc1550a7
parentdfb92ce07f87648f3423be11e51425923bc9f8b1 (diff)
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>
Notes
Notes (review): Code-Review+1: Steve Wilkerson <wilkers.steve@gmail.com> Code-Review+2: Aaron Sheffield <ajs@sheffieldfamily.net> Code-Review+2: Felipe Monteiro <felipe.monteiro@att.com> Workflow+1: Felipe Monteiro <felipe.monteiro@att.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Fri, 24 Aug 2018 13:55:59 +0000 Reviewed-on: https://review.openstack.org/595400 Project: openstack/airship-maas Branch: refs/heads/master
-rw-r--r--charts/maas/templates/statefulset-rack.yaml4
1 files changed, 1 insertions, 3 deletions
diff --git a/charts/maas/templates/statefulset-rack.yaml b/charts/maas/templates/statefulset-rack.yaml
index 5312b7f..1abdb10 100644
--- a/charts/maas/templates/statefulset-rack.yaml
+++ b/charts/maas/templates/statefulset-rack.yaml
@@ -49,12 +49,10 @@ spec:
49{{ tuple $envAll "maas" "rack" | include "helm-toolkit.snippets.kubernetes_pod_anti_affinity" | indent 8 }} 49{{ tuple $envAll "maas" "rack" | include "helm-toolkit.snippets.kubernetes_pod_anti_affinity" | indent 8 }}
50 nodeSelector: 50 nodeSelector:
51 {{ .Values.labels.rack.node_selector_key }}: {{ .Values.labels.rack.node_selector_value }} 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 hostNetwork: true 52 hostNetwork: true
55 dnsPolicy: ClusterFirst 53 dnsPolicy: ClusterFirst
56 initContainers: 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 containers: 56 containers:
59 - name: maas-rack 57 - name: maas-rack
60 image: {{ .Values.images.tags.maas_rack }} 58 image: {{ .Values.images.tags.maas_rack }}