mirror of
https://github.com/k8s-at-home/charts.git
synced 2025-02-03 07:49:03 +00:00
[Deconz] - Add option for a persistence.subpath (#160)
Co-authored-by: Mike Knell <mike.knell@lifecycle-software.com>
This commit is contained in:
parent
ae45a4f962
commit
a21912cc84
@ -1,7 +1,7 @@
|
|||||||
apiVersion: v2
|
apiVersion: v2
|
||||||
name: deconz
|
name: deconz
|
||||||
description: A Helm chart for deploying deCONZ
|
description: A Helm chart for deploying deCONZ
|
||||||
version: 2.0.0
|
version: 2.0.1
|
||||||
appVersion: 2.05.80
|
appVersion: 2.05.80
|
||||||
keywords:
|
keywords:
|
||||||
- deconz
|
- deconz
|
||||||
|
@ -79,6 +79,7 @@ Read through the [values.yaml](https://github.com/k8s-at-home/charts/blob/master
|
|||||||
| `persistence.existingClaim` | Use an existing PVC to persist data | `nil` |
|
| `persistence.existingClaim` | Use an existing PVC to persist data | `nil` |
|
||||||
| `persistence.accessMode` | Persistence access mode | `ReadWriteOnce` |
|
| `persistence.accessMode` | Persistence access mode | `ReadWriteOnce` |
|
||||||
| `persistence.size` | Size of persistent volume claim | `1Gi` |
|
| `persistence.size` | Size of persistent volume claim | `1Gi` |
|
||||||
|
| `persistence.subPath` | Mount a sub dir of the persistent volume | `nil` |
|
||||||
| `extraVolumes` | Optionally add additional Volumes | `[]` |
|
| `extraVolumes` | Optionally add additional Volumes | `[]` |
|
||||||
| `resources` | CPU/Memory resource requests/limits | `{}` |
|
| `resources` | CPU/Memory resource requests/limits | `{}` |
|
||||||
| `nodeSelector` | Node labels for pod assignment | `{}` |
|
| `nodeSelector` | Node labels for pod assignment | `{}` |
|
||||||
|
@ -77,6 +77,9 @@ spec:
|
|||||||
{{- end }}
|
{{- end }}
|
||||||
- name: config
|
- name: config
|
||||||
mountPath: /root/.local/share/dresden-elektronik/deCONZ
|
mountPath: /root/.local/share/dresden-elektronik/deCONZ
|
||||||
|
{{- if .Values.persistence.subPath }}
|
||||||
|
subPath: {{ .Values.persistence.subPath }}
|
||||||
|
{{- end }}
|
||||||
{{- include "deconz.extraVolumeMounts" . | nindent 12 }}
|
{{- include "deconz.extraVolumeMounts" . | nindent 12 }}
|
||||||
{{- if .Values.probes.liveness.enabled }}
|
{{- if .Values.probes.liveness.enabled }}
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
|
@ -79,6 +79,8 @@ persistence:
|
|||||||
# existingClaim: deconz-data
|
# existingClaim: deconz-data
|
||||||
accessMode: ReadWriteOnce
|
accessMode: ReadWriteOnce
|
||||||
size: 1Gi
|
size: 1Gi
|
||||||
|
## When mounting the data volume you may specify a subPath
|
||||||
|
# subPath: /configs/deconz
|
||||||
|
|
||||||
# Any extra volumes to define for the pod
|
# Any extra volumes to define for the pod
|
||||||
# Volumes will be mounted to the folder specified under mountPath
|
# Volumes will be mounted to the folder specified under mountPath
|
||||||
|
Loading…
Reference in New Issue
Block a user