File tree Expand file tree Collapse file tree 2 files changed +18
-0
lines changed
Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -115,6 +115,16 @@ spec:
115115 {{- toYaml . | nindent 4 }}
116116 {{- end }}
117117
118+ {{- with .Values.cluster.podSecurityContext }}
119+ podSecurityContext :
120+ {{- toYaml . | nindent 4 }}
121+ {{ end }}
122+
123+ {{- with .Values.cluster.securityContext }}
124+ securityContext :
125+ {{- toYaml . | nindent 4 }}
126+ {{ end }}
127+
118128 monitoring :
119129 enablePodMonitor : {{ and .Values.cluster.monitoring.enabled .Values.cluster.monitoring.podMonitor.enabled }}
120130 disableDefaultQueries : {{ .Values.cluster.monitoring.disableDefaultQueries }}
Original file line number Diff line number Diff line change @@ -391,6 +391,14 @@ cluster:
391391 # -- Configure the metadata of the generated service account
392392 serviceAccountTemplate : {}
393393
394+ # -- Configure the Pod Security Context.
395+ # See: https://cloudnative-pg.io/documentation/preview/security/
396+ podSecurityContext : {}
397+
398+ # -- Configure Container Security Context.
399+ # See: https://cloudnative-pg.io/documentation/preview/security/
400+ securityContext : {}
401+
394402 additionalLabels : {}
395403 annotations : {}
396404
You can’t perform that action at this time.
0 commit comments