File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ apiVersion: v2
22appVersion : 2.0.18
33description : Eclipse Mosquitto MQTT
44name : mosquitto
5- version : 0.0.1
5+ version : 0.0.2
66type : application
77keywords :
88- mqtt
Original file line number Diff line number Diff line change @@ -107,22 +107,27 @@ spec:
107107 - name : mosquitto-conf
108108 mountPath : /mosquitto/config/mosquitto.conf
109109 subPath : mosquitto.conf
110+ readOnly : true
110111 - name : mosquitto-passwd
111112 mountPath : /mosquitto/password_file
112113 subPath : password_file
114+ readOnly : true
113115 - name : mosquitto-ca-cert
114116 mountPath : /mosquitto/config/certs/ca.crt
115117 subPath : ca.crt
118+ readOnly : true
116119 - name : mosquitto-server-cert
117120 mountPath : /mosquitto/config/certs/server.crt
118121 subPath : server.crt
122+ readOnly : true
119123 - name : mosquitto-server-key
120124 mountPath : /mosquitto/config/certs/server.key
121125 subPath : server.key
122126 readOnly : true
123127 - name : mosquitto-data
124128 mountPath : /mosquitto
125129 subPath : mosquitto
130+ readOnly : true
126131 resources :
127132 {{- toYaml .Values.resources | nindent 12 }}
128133 volumes :
@@ -137,14 +142,23 @@ spec:
137142 configMap :
138143 name : {{ include "app.fullname" . }}
139144 - name : mosquitto-ca-cert
140- secret :
141- secretName : mosquitto-ca-cert
145+ configMap :
146+ name : {{ include "app.fullname" . }}-certs
147+ items :
148+ - key : ca.crt
149+ path : ca.crt
142150 - name : mosquitto-server-cert
143- secret :
144- secretName : mosquitto-server-cert
151+ configMap :
152+ name : {{ include "app.fullname" . }}-certs
153+ items :
154+ - key : server.crt
155+ path : server.crt
145156 - name : mosquitto-server-key
146- secret :
147- secretName : mosquitto-server-key
157+ configMap :
158+ name : {{ include "app.fullname" . }}-certs
159+ items :
160+ - key : server.key
161+ path : server.key
148162 - name : mosquitto-data
149163 {{- if .Values.persistence.enabled }}
150164 persistentVolumeClaim :
You can’t perform that action at this time.
0 commit comments