diff --git a/charts/influxdb/templates/statefulset.yaml b/charts/influxdb/templates/statefulset.yaml index f2b21c00..bc8021ee 100644 --- a/charts/influxdb/templates/statefulset.yaml +++ b/charts/influxdb/templates/statefulset.yaml @@ -59,6 +59,10 @@ spec: {{- if .Values.resources }} resources: {{ toYaml .Values.resources | indent 10 }} + {{- end }} + {{- if .Values.securityContext }} + securityContext: +{{ toYaml .Values.securityContext | indent 10 }} {{- end }} ports: - name: api