@@ -40,28 +40,28 @@ spec:
4040 runAsGroup : {{ .Values.securityContext.runAsGrop }}
4141 fsGroup : {{ .Values.securityContext.fsGroup }}
4242 {{- end }}
43- initContainers :
44- - name : init-config
45- image : busybox
46- command : ["/bin/cp", "-v", "/tmp/password_file", "/mosquitto/password_file"]
47- securityContext :
48- runAsNonRoot : false
49- privileged : true
50- volumeMounts :
51- - name : mosquitto-passwd
52- mountPath : /tmp/password_file
53- subPath : password_file
54- - name : mosquitto-data
55- mountPath : /mosquitto
56- - name : setup-permissions
57- image : busybox
58- command : ["/bin/chown", "-R", "1883:1883", "/mosquitto"]
59- securityContext :
60- runAsUser : 0
61- privileged : true
62- volumeMounts :
63- - name : mosquitto-data
64- mountPath : /mosquitto
43+ # initContainers:
44+ # - name: init-config
45+ # image: busybox
46+ # command: ["/bin/cp", "-v", "/tmp/password_file", "/mosquitto/password_file"]
47+ # securityContext:
48+ # runAsNonRoot: false
49+ # privileged: true
50+ # volumeMounts:
51+ # - name: mosquitto-passwd
52+ # mountPath: /tmp/password_file
53+ # subPath: password_file
54+ # - name: mosquitto-data
55+ # mountPath: /mosquitto
56+ # - name: setup-permissions
57+ # image: busybox
58+ # command: ["/bin/chown", "-R", "1883:1883", "/mosquitto"]
59+ # securityContext:
60+ # runAsUser: 0
61+ # privileged: true
62+ # volumeMounts:
63+ # - name: mosquitto-data
64+ # mountPath: /mosquitto
6565 containers :
6666 - name : {{ .Chart.Name }}
6767 securityContext :
@@ -107,9 +107,9 @@ spec:
107107 - name : mosquitto-conf
108108 mountPath : /mosquitto/config/mosquitto.conf
109109 subPath : mosquitto.conf
110- - name : mosquitto-passwd
111- mountPath : /mosquitto/password_file
112- subPath : password_file
110+ # - name: mosquitto-passwd
111+ # mountPath: /mosquitto/password_file
112+ # subPath: password_file
113113 - name : mosquitto-ca-cert
114114 mountPath : /mosquitto/config/certs/ca.crt
115115 subPath : ca.crt
0 commit comments