diff --git a/templates/server-ha-statefulset.yaml b/templates/server-ha-statefulset.yaml index c7e4174..7e50517 100644 --- a/templates/server-ha-statefulset.yaml +++ b/templates/server-ha-statefulset.yaml @@ -36,10 +36,6 @@ spec: spec: #TODO: look at how Consul exposes affinity terminationGracePeriodSeconds: 10 - securityContext: - fsGroup: 1000 - # TODO: confirm Vault needs this - privileged: true volumes: - name: config configMap: @@ -56,6 +52,10 @@ spec: {{- end }} containers: - name: vault + securityContext: + fsGroup: 1000 + # TODO: confirm Vault needs this + privileged: true image: "{{ default .Values.global.image .Values.consulHA.image }}" env: - name: HOST_IP diff --git a/values.yaml b/values.yaml index 917f02c..22d0434 100644 --- a/values.yaml +++ b/values.yaml @@ -21,7 +21,7 @@ global: image: "vault:1.0.0-beta2" server: - enabled: "-" + enabled: false image: null replicas: 1