File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed
charts/kube-prometheus-stack
templates/prometheus-operator Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -218,6 +218,9 @@ spec:
218218 dnsConfig :
219219{{ toYaml . | indent 8 }}
220220 {{- end }}
221+ {{- if kindIs "bool" .Values.prometheusOperator.hostUsers }}
222+ hostUsers : {{ .Values.prometheusOperator.hostUsers }}
223+ {{- end }}
221224{{- if .Values.prometheusOperator.securityContext }}
222225 securityContext :
223226{{ toYaml .Values.prometheusOperator.securityContext | indent 8 }}
Original file line number Diff line number Diff line change @@ -3254,6 +3254,10 @@ prometheusOperator:
32543254 seccompProfile :
32553255 type : RuntimeDefault
32563256
3257+ # # Setup hostUsers for prometheus-operator
3258+ # # ref: https://kubernetes.io/docs/concepts/workloads/pods/user-namespaces/
3259+ hostUsers : ~
3260+
32573261 # # Container-specific security context configuration
32583262 # # ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
32593263 # #
You can’t perform that action at this time.
0 commit comments