Allow setting custom labels and annotations on PVCs
This commit is contained in:
1 parent
38e6100c8c
commit
581735dc61
3 files changed
+23
No files matched your search
@@ -9,6 +9,13 @@ metadata:
|
||||
helm.sh/chart: {{ include "jellyfin.chart" . }}
|
||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
||||
{{- with .Values.persistence.config.labels }}
|
||||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
{{- with .Values.persistence.config.annotations }}
|
||||
annotations:
|
||||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
spec:
|
||||
accessModes:
|
||||
- {{ .Values.persistence.config.accessMode | quote }}
|
||||
|
||||
@@ -9,6 +9,13 @@ metadata:
|
||||
helm.sh/chart: {{ include "jellyfin.chart" . }}
|
||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
||||
{{- with .Values.persistence.media.labels }}
|
||||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
{{- with .Values.persistence.media.annotations }}
|
||||
annotations:
|
||||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
spec:
|
||||
accessModes:
|
||||
- {{ .Values.persistence.media.accessMode | quote }}
|
||||
|
||||
@@ -62,6 +62,10 @@ persistence:
|
||||
# subPath: some-subpath
|
||||
accessMode: ReadWriteOnce
|
||||
size: 1Gi
|
||||
# -- Custom labels to be added to the PVC
|
||||
labels: {}
|
||||
# -- Custom annotations to be added to the PVC
|
||||
annotations: {}
|
||||
media:
|
||||
enabled: false
|
||||
# -- If undefined (the default) or set to null, no storageClassName spec is set, choosing the default provisioner.
|
||||
@@ -72,6 +76,11 @@ persistence:
|
||||
# subPath: some-subpath
|
||||
accessMode: ReadWriteOnce
|
||||
size: 10Gi
|
||||
# -- Custom labels to be added to the PVC
|
||||
labels: {}
|
||||
# -- Custom annotations to be added to the PVC
|
||||
annotations: {}
|
||||
|
||||
# -- Add aditional PVs/PVCs to our container. Check values.yaml to see an example.
|
||||
extraExistingClaimMounts: []
|
||||
# - name: external-mount
|
||||
|
||||
Reference in new issue
Block a user