diff options
author | Sylvain Desbureaux <sylvain.desbureaux@orange.com> | 2020-11-04 08:46:43 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2020-11-04 08:46:43 +0000 |
commit | c28ecc68065746659cdf858946cf09cd60d3629c (patch) | |
tree | 85b80ac8f9f2de2b283fb371d6a4d6cff97d212c /kubernetes/consul/charts/consul-server/templates/statefulset.yaml | |
parent | 8a9bb06970d6ee75df5f5e53743e0222eabb4b75 (diff) | |
parent | 4aa45c75ac68a5358d480b59fb47f918fa410086 (diff) |
Merge changes Ic1302ac2,I43584b7f
* changes:
[CONSUL] Make consul server run as non-root
[CONSUL] Make consul run as non-root
Diffstat (limited to 'kubernetes/consul/charts/consul-server/templates/statefulset.yaml')
-rw-r--r-- | kubernetes/consul/charts/consul-server/templates/statefulset.yaml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/kubernetes/consul/charts/consul-server/templates/statefulset.yaml b/kubernetes/consul/charts/consul-server/templates/statefulset.yaml index 430b6dd1bd..d572ec2d54 100644 --- a/kubernetes/consul/charts/consul-server/templates/statefulset.yaml +++ b/kubernetes/consul/charts/consul-server/templates/statefulset.yaml @@ -42,8 +42,10 @@ spec: containers: - name: {{ include "common.name" . }} image: "{{ include "common.repository" . }}/{{ .Values.image }}" - command: ["/usr/local/bin/docker-entrypoint.sh"] + command: + - sh args: + - /usr/local/bin/docker-entrypoint.sh - "agent" - "-bootstrap-expect={{ .Values.replicaCount }}" - "-enable-script-checks" |