summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Milaszkiewicz <daniel.milaszkiewicz@nokia.com>2020-11-16 13:50:18 +0000
committerSylvain Desbureaux <sylvain.desbureaux@orange.com>2020-11-18 15:01:03 +0000
commitda8d1d7a82c2da354941f955aedb476ec878361e (patch)
treedc920adfdc956908e2512077399d9e62ac270854
parent0c4f44f98e3deae648fbe129c9081b25fb9ad74c (diff)
Revert "[CONSUL] Make consul server run as non-root"
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> (cherry picked from commit 2e13371bd7a679e3b1cf0c9818c60bf6c8574a2d)
-rw-r--r--kubernetes/consul/charts/consul-server/templates/statefulset.yaml4
1 files changed, 1 insertions, 3 deletions
diff --git a/kubernetes/consul/charts/consul-server/templates/statefulset.yaml b/kubernetes/consul/charts/consul-server/templates/statefulset.yaml
index d572ec2d54..430b6dd1bd 100644
--- a/kubernetes/consul/charts/consul-server/templates/statefulset.yaml
+++ b/kubernetes/consul/charts/consul-server/templates/statefulset.yaml
@@ -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"