From 0eb8bd4c001964970d9a487a383bbdeffe292530 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Sun, 19 Dec 2021 12:23:23 +0100 Subject: [PATCH] Alpine: also add labels to PVC --- apps/alpine-helm-deployment/templates/deployment.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apps/alpine-helm-deployment/templates/deployment.yaml b/apps/alpine-helm-deployment/templates/deployment.yaml index 98e4438..a7e8c74 100644 --- a/apps/alpine-helm-deployment/templates/deployment.yaml +++ b/apps/alpine-helm-deployment/templates/deployment.yaml @@ -61,6 +61,9 @@ apiVersion: v1 kind: PersistentVolumeClaim metadata: name: {{ .Release.Name }}-data + labels: + app.kubernetes.io/instance: {{ .Release.Name }} + app.kubernetes.io/component: alpine spec: accessModes: - ReadWriteOnce