Alpine: also add labels to PVC
This commit is contained in:
parent
199b30a707
commit
0eb8bd4c00
1 changed files with 3 additions and 0 deletions
|
@ -61,6 +61,9 @@ apiVersion: v1
|
||||||
kind: PersistentVolumeClaim
|
kind: PersistentVolumeClaim
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ .Release.Name }}-data
|
name: {{ .Release.Name }}-data
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||||
|
app.kubernetes.io/component: alpine
|
||||||
spec:
|
spec:
|
||||||
accessModes:
|
accessModes:
|
||||||
- ReadWriteOnce
|
- ReadWriteOnce
|
||||||
|
|
Loading…
Reference in a new issue