From c736a05bdb16b2554a50c3d71dfa5e701dc6ea0e Mon Sep 17 00:00:00 2001 From: JacekZubielik Date: Mon, 22 Jul 2024 15:58:45 +0200 Subject: [PATCH] build(zigbee2mqtt): version: 0.0.4 --- charts/zigbee2mqtt/Chart.yaml | 4 +-- .../zigbee2mqtt/templates/statefullset.yaml | 16 +++++------ charts/zigbee2mqtt/values.yaml | 27 ++++++++++++------- 3 files changed, 26 insertions(+), 21 deletions(-) diff --git a/charts/zigbee2mqtt/Chart.yaml b/charts/zigbee2mqtt/Chart.yaml index ba9c153..363572f 100644 --- a/charts/zigbee2mqtt/Chart.yaml +++ b/charts/zigbee2mqtt/Chart.yaml @@ -1,8 +1,8 @@ apiVersion: v2 -appVersion: 1.38.0 +appVersion: 1.39.0 description: Zigbee Bridge via MQTT name: zigbee2mqtt -version: 0.0.3 +version: 0.0.4 type: application keywords: - zigbee2mqtt diff --git a/charts/zigbee2mqtt/templates/statefullset.yaml b/charts/zigbee2mqtt/templates/statefullset.yaml index 9293c78..e17e03a 100644 --- a/charts/zigbee2mqtt/templates/statefullset.yaml +++ b/charts/zigbee2mqtt/templates/statefullset.yaml @@ -129,9 +129,9 @@ spec: volumes: - name: config-storage {{- if .Values.persistence.enabled }} - {{- if .Values.persistence.configstorage.hostPath }} + {{- if .Values.persistence.hostPath }} hostPath: - path: {{.Values.persistence.configstorage.hostPath}} + path: {{.Values.persistence.hostPath}} {{- else }} persistentVolumeClaim: claimName: {{ if .Values.persistence.existingClaim }}{{ .Values.persistence.existingClaim }}{{- else }}{{ template "app.fullname" . }}{{- end }} @@ -139,13 +139,11 @@ spec: {{- else }} emptyDir: {} {{ end }} - {{- if and .Values.persistence.enabled .Values.persistence.existingClaim }} - - name: config-storage - persistentVolumeClaim: - claimName: {{ .Values.persistence.existingClaim }} - {{- end }} - {{- range .Values.hostMounts }} + {{- range .Values.hostMounts }} - name: {{ .name }} hostPath: path: {{.hostPath}} - {{- end }} + {{- if .type }} + type: {{ .type }} + {{- end }} + {{- end }} \ No newline at end of file diff --git a/charts/zigbee2mqtt/values.yaml b/charts/zigbee2mqtt/values.yaml index db11867..1a0d4cc 100644 --- a/charts/zigbee2mqtt/values.yaml +++ b/charts/zigbee2mqtt/values.yaml @@ -149,16 +149,23 @@ tolerations: [] persistence: enabled: false - configstorage: - hostPath: {} - pvc: - enabled: false - # accessModes: - # - {} - # resources: - # requests: - # storage: 2Gi - # storageClassName: "" + ## esphome data Persistent Volume Storage Class + ## If defined, storageClassName: + ## If set to "-", storageClassName: "", which disables dynamic provisioning + ## If undefined (the default) or set to null, no storageClassName spec is + ## set, choosing the default provisioner. (gp2 on AWS, standard on + ## GKE, AWS & OpenStack) + ## + # storageClass: "-" + ## + ## If you want to reuse an existing claim, you can pass the name of the PVC using + ## the existingClaim variable + # existingClaim: your-claim + ## + ## If you want to use a volume on the host machine instead of a PVC: + # hostPath: /path/to/the/config/folder + accessMode: ReadWriteOnce + size: 1Gi # Mount devices or folders from the host machine. Can be used for USB device mounting. # hostMounts: