summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKrzysztof Opasiak <k.opasiak@samsung.com>2020-11-18 08:05:54 +0000
committerGerrit Code Review <gerrit@onap.org>2020-11-18 08:05:54 +0000
commit83774858d893c2742cde666f18978f818e2ed25a (patch)
tree8024cec0eb1369c601168f8f84b9708fa62f96c1
parentd1af9f9efa889922900cbf2d65f279c705f5521a (diff)
parent2e13371bd7a679e3b1cf0c9818c60bf6c8574a2d (diff)
Merge "Revert "[CONSUL] Make consul server run as non-root""
-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"