Skip to content

Commit

Permalink
Merge pull request #55 from JacekZubielik/zigbee2mqtt
Browse files Browse the repository at this point in the history
build(zigbee2mqtt): version: 0.0.4
  • Loading branch information
JacekZubielik authored Jul 22, 2024
2 parents 0beb09c + c736a05 commit 21ec2df
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 21 deletions.
4 changes: 2 additions & 2 deletions charts/zigbee2mqtt/Chart.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
16 changes: 7 additions & 9 deletions charts/zigbee2mqtt/templates/statefullset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -129,23 +129,21 @@ 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 }}
{{- end }}
{{- 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 }}
27 changes: 17 additions & 10 deletions charts/zigbee2mqtt/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: <storageClass>
## 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:
Expand Down

0 comments on commit 21ec2df

Please sign in to comment.