UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects
Commit f0edb1c3 authored by Andrew Kesterson's avatar Andrew Kesterson
Browse files

Mattermost #155: Correct pod security context settings for postgresql primary

parent c204cf8d
No related branches found
No related tags found
2 merge requests!4912SKIP UPGRADE CHECK mattermost update to 9.10.1-bb.2,!4904feat: Add Kiali labels for Mattermost/MattermostOperator
......@@ -105,14 +105,26 @@ postgresql:
primary:
podAnnotations:
{{ include "istioAnnotation" $ }}
podSecurityContext:
enabled: true
runAsGroup: 26
containerSecurityContext:
enabled: true
runAsGroup: 26
runAsNonRoot: true
capabilities:
drop:
- ALL
#permissions for initContainers
volumePermissions:
securityContext:
capabilities:
drop:
- ALL
readReplicas:
podAnnotations:
{{ include "istioAnnotation" $ }}
{{- end }}
securityContext:
runAsGroup: 26
containerSecurityContext:
runAsGroup: 26
{{- end }}
{{- end }}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment