aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKrzysztof Opasiak <k.opasiak@samsung.com>2020-11-26 10:00:25 +0000
committerGerrit Code Review <gerrit@onap.org>2020-11-26 10:00:25 +0000
commite094524d6bc3f83c562486177649cfea8bc2f93f (patch)
tree2b5dc20cd402608e5aa42f8756d2e610e96340f7
parente7f6ac9f0299cc27aaef289da7379c500cd246ce (diff)
parentda8d1d7a82c2da354941f955aedb476ec878361e (diff)
Merge "Revert "[CONSUL] Make consul server run as non-root"" into guilin
-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"