Skip to content

Commit

Permalink
Add storageLabels value to tenant chart (#2335)
Browse files Browse the repository at this point in the history
  • Loading branch information
dezeroku authored Oct 15, 2024
1 parent 082389a commit b8c9bf4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions helm/tenant/templates/tenant.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ spec:
name: data
{{- with (dig "storageAnnotations" (dict) .) }}
annotations: {{- toYaml . | nindent 12 }}
{{- end }}
{{- with (dig "storageLabels" (dict) .) }}
labels: {{- toYaml . | nindent 12 }}
{{- end }}
spec:
{{- if dig "storageClassName" "" . }}
Expand Down
3 changes: 3 additions & 0 deletions helm/tenant/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,9 @@ tenant:
# Specify `storageAnnotations <https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/>`__ to associate to PVCs.
storageAnnotations: { }
###
# Specify `storageLabels <https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/>`__ to associate to PVCs.
storageLabels: { }
###
# Specify `annotations <https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/>`__ to associate to Tenant pods.
annotations: { }
###
Expand Down

0 comments on commit b8c9bf4

Please sign in to comment.