Revert "[CONSUL] Make consul server run as non-root" 48/114848/2
authorDaniel Milaszkiewicz <daniel.milaszkiewicz@nokia.com>
Mon, 16 Nov 2020 13:50:18 +0000 (13:50 +0000)
committerKrzysztof Opasiak <k.opasiak@samsung.com>
Mon, 16 Nov 2020 19:35:44 +0000 (19:35 +0000)
Revert submission 114556

Reason for revert: Bug - OOM-2630
Reverted Changes:
Ic1302ac28:[CONSUL] Make consul server run as non-root
I43584b7f0:[CONSUL] Make consul run as non-root

Issue-ID: OOM-2630
Change-Id: I3e96f85ad92239f6a3e3df019fc1f675b837ce0d
Signed-off-by: Daniel Milaszkiewicz <daniel.milaszkiewicz@nokia.com>
kubernetes/consul/charts/consul-server/templates/statefulset.yaml

index d572ec2..430b6dd 100644 (file)
@@ -42,10 +42,8 @@ spec:
       containers:
       - name: {{ include "common.name" . }}
         image: "{{ include "common.repository" . }}/{{ .Values.image }}"
-        command:
-        - sh
+        command: ["/usr/local/bin/docker-entrypoint.sh"]
         args:
-        - /usr/local/bin/docker-entrypoint.sh
         - "agent"
         - "-bootstrap-expect={{ .Values.replicaCount }}"
         - "-enable-script-checks"