Skip to content
This repository was archived by the owner on Feb 12, 2024. It is now read-only.

Commit ea8ee0e

Browse files
authoredAug 5, 2022
fix(zabbix-proxy): move securitycontext to proper spec section
1 parent febfa7e commit ea8ee0e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed
 

‎templates/statefulset-zabbix-proxy.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,6 @@ spec:
3131
{{- end }}
3232
{{- end }}
3333
{{- end }}
34-
{{- if .Values.zabbixproxy.securityContext }}
35-
securityContext:
36-
{{- toYaml .Values.zabbixproxy.securityContext | nindent 12 }}
37-
{{- end }}
3834
replicas: {{ .Values.zabbixproxy.replicaCount }}
3935
serviceName: {{ template "zabbix.fullname" . }}
4036
selector:
@@ -68,6 +64,10 @@ spec:
6864
tolerations:
6965
{{- toYaml . | nindent 8 }}
7066
{{- end }}
67+
{{- if .Values.zabbixproxy.securityContext }}
68+
securityContext:
69+
{{- toYaml .Values.zabbixproxy.securityContext | nindent 12 }}
70+
{{- end }}
7171
containers:
7272
{{- if .Values.zabbixagent.enabled }}
7373
- name: zabbix-agent

0 commit comments

Comments
 (0)
This repository has been archived.