Code Review
/
oom.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
[CONSUL] Make consul server run as non-root
[oom.git]
/
kubernetes
/
consul
/
charts
/
consul-server
/
templates
/
statefulset.yaml
diff --git
a/kubernetes/consul/charts/consul-server/templates/statefulset.yaml
b/kubernetes/consul/charts/consul-server/templates/statefulset.yaml
index
430b6dd
..
d572ec2
100644
(file)
--- 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 }}"
containers:
- name: {{ include "common.name" . }}
image: "{{ include "common.repository" . }}/{{ .Values.image }}"
- command: ["/usr/local/bin/docker-entrypoint.sh"]
+ command:
+ - sh
args:
args:
+ - /usr/local/bin/docker-entrypoint.sh
- "agent"
- "-bootstrap-expect={{ .Values.replicaCount }}"
- "-enable-script-checks"
- "agent"
- "-bootstrap-expect={{ .Values.replicaCount }}"
- "-enable-script-checks"