diff --git a/charts/zigbee2mqtt/Chart.yaml b/charts/zigbee2mqtt/Chart.yaml index bbee550..49c528c 100644 --- a/charts/zigbee2mqtt/Chart.yaml +++ b/charts/zigbee2mqtt/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 appVersion: 1.39.1 description: Zigbee Bridge via MQTT name: zigbee2mqtt -version: 0.0.9 +version: 0.0.10 type: application keywords: - zigbee2mqtt diff --git a/charts/zigbee2mqtt/templates/statefullset.yaml b/charts/zigbee2mqtt/templates/statefullset.yaml index 5317644..8d5d793 100644 --- a/charts/zigbee2mqtt/templates/statefullset.yaml +++ b/charts/zigbee2mqtt/templates/statefullset.yaml @@ -109,10 +109,37 @@ spec: mountPath: /data - name: sniffer mountPath: {{ .Values.config.serial.port }} + - name: zigbee2mqtt-ca-cert + mountPath: /cert/ca.crt + subPath: ca.crt + - name: zigbee2mqtt-client-cert + mountPath: /cert/client.crt + subPath: server.crt + - name: zigbee2mqtt-client-key + mountPath: /cert/client.key + subPath: client.key volumes: - name: zigbee2mqtt configMap: name: {{ include "app.fullname" . }} + - name: zigbee2mqtt-ca-cert + configMap: + name: {{ include "app.fullname" . }}-certs + items: + - key: ca.crt + path: ca.crt + - name: zigbee2mqtt-client-cert + configMap: + name: {{ include "app.fullname" . }}-certs + items: + - key: client.crt + path: client.crt + - name: zigbee2mqtt-client-key + configMap: + name: {{ include "app.fullname" . }}-certs + items: + - key: client.key + path: client.key - name: sniffer hostPath: path: {{ required "You must specify a path to your zigbee sniffer" .Values.config.serial.port }}