diff --git a/charts/vaultwarden/Chart.yaml b/charts/vaultwarden/Chart.yaml index 68b1d1b..29649f6 100644 --- a/charts/vaultwarden/Chart.yaml +++ b/charts/vaultwarden/Chart.yaml @@ -13,5 +13,5 @@ maintainers: - name: guerzon email: guerzon@proton.me url: https://github.com/guerzon -version: 0.22.1 +version: 0.22.2 kubeVersion: ">=1.12.0-0" diff --git a/charts/vaultwarden/templates/_pvcSpec.tpl b/charts/vaultwarden/templates/_pvcSpec.tpl index 36a7242..72867fe 100644 --- a/charts/vaultwarden/templates/_pvcSpec.tpl +++ b/charts/vaultwarden/templates/_pvcSpec.tpl @@ -5,7 +5,9 @@ volumeClaimTemplates: - metadata: name: {{ .name }} labels: - {{- include "vaultwarden.labels" $ | nindent 10 }} + app.kubernetes.io/component: vaultwarden + app.kubernetes.io/name: {{ include "vaultwarden.fullname" . }} + app.kubernetes.io/instance: {{ include "vaultwarden.fullname" . }} annotations: meta.helm.sh/release-name: {{ $.Release.Name | quote }} meta.helm.sh/release-namespace: {{ $.Release.Namespace | quote }} @@ -26,7 +28,9 @@ volumeClaimTemplates: - metadata: name: {{ .name }} labels: - {{- include "vaultwarden.labels" $ | nindent 10 }} + app.kubernetes.io/component: vaultwarden + app.kubernetes.io/name: {{ include "vaultwarden.fullname" . }} + app.kubernetes.io/instance: {{ include "vaultwarden.fullname" . }} annotations: meta.helm.sh/release-name: {{ $.Release.Name | quote }} meta.helm.sh/release-namespace: {{ $.Release.Namespace | quote }}