summaryrefslogtreecommitdiffstats
path: root/kubernetes/consul/charts/consul-server/templates
diff options
context:
space:
mode:
Diffstat (limited to 'kubernetes/consul/charts/consul-server/templates')
-rw-r--r--kubernetes/consul/charts/consul-server/templates/statefulset.yaml3
1 files changed, 3 insertions, 0 deletions
diff --git a/kubernetes/consul/charts/consul-server/templates/statefulset.yaml b/kubernetes/consul/charts/consul-server/templates/statefulset.yaml
index 430b6dd1bd..872ef13f95 100644
--- a/kubernetes/consul/charts/consul-server/templates/statefulset.yaml
+++ b/kubernetes/consul/charts/consul-server/templates/statefulset.yaml
@@ -42,6 +42,9 @@ spec:
containers:
- name: {{ include "common.name" . }}
image: "{{ include "common.repository" . }}/{{ .Values.image }}"
+ securityContext:
+ runAsUser: {{ .Values.securityContext.runAsUser }}
+ runAsGroup: {{ .Values.securityContext.runAsGroup }}
command: ["/usr/local/bin/docker-entrypoint.sh"]
args:
- "agent"