File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -113,6 +113,7 @@ spec:
113
113
resource : limits.memory
114
114
{{ with .Values.operator.env }}{{ toYaml . | nindent 12 }}{{ end }}
115
115
resources : {{ toYaml .Values.operator.resources | nindent 12 }}
116
+ securityContext : {{ toYaml .Values.operator.containerSecurityContext | nindent 12 }}
116
117
{{ if .Values.metrics.enabled }}
117
118
- name : metrics-exporter
118
119
image : {{ .Values.metrics.image.repository }}:{{ include "altinity-clickhouse-operator.metrics.tag" . }}
@@ -182,8 +183,10 @@ spec:
182
183
- containerPort : 8888
183
184
name : metrics
184
185
resources : {{ toYaml .Values.metrics.resources | nindent 12 }}
186
+ securityContext : {{ toYaml .Values.metrics.containerSecurityContext | nindent 12 }}
185
187
{{ end }}
186
188
imagePullSecrets : {{ toYaml .Values.imagePullSecrets | nindent 8 }}
187
189
nodeSelector : {{ toYaml .Values.nodeSelector | nindent 8 }}
188
190
affinity : {{ toYaml .Values.affinity | nindent 8 }}
191
+ securityContext : {{ toYaml .Values.podSecurityContext | nindent 12 }}
189
192
tolerations : {{ toYaml .Values.tolerations | nindent 8 }}
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ operator:
8
8
# operator.image.pullPolicy -- image pull policy
9
9
10
10
pullPolicy : IfNotPresent
11
+ containerSecurityContext : {}
11
12
# operator.resources -- custom resource configuration
12
13
13
14
resources : {}
@@ -39,6 +40,7 @@ metrics:
39
40
# metrics.image.pullPolicy -- image pull policy
40
41
41
42
pullPolicy : IfNotPresent
43
+ containerSecurityContext : {}
42
44
# metrics.resources -- custom resource configuration
43
45
44
46
resources : {}
@@ -99,6 +101,7 @@ tolerations: []
99
101
# affinity -- affinity for scheduler pod assignment
100
102
101
103
affinity : {}
104
+ podSecurityContext : {}
102
105
serviceMonitor :
103
106
# serviceMonitor.enabled -- ServiceMonitor CRD is created for a prometheus operator
104
107
enabled : false
You can’t perform that action at this time.
0 commit comments