mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
Update to ensure label match & storage annotation
1. The component labels need to match. 2. Changed annotation to alpha from beta
This commit is contained in:
committed by
GitHub
parent
328bf6a55c
commit
afd64d2efd
@@ -67,7 +67,7 @@ spec:
|
||||
clusterrole: {{.Values.ClusterRole | quote }}
|
||||
replicaset: {{.Values.ReplicaSet | quote }}
|
||||
chart: "{{.Chart.Name}}-{{.Chart.Version}}"
|
||||
component: "{{ printf "%s-%s" .Release.Name .Values.Name | trunc 24 }}"
|
||||
component: "{{.Release.Name}}-{{.Values.Component}}"
|
||||
annotations:
|
||||
"helm.sh/created": {{.Release.Time.Seconds | quote }}
|
||||
pod.alpha.kubernetes.io/init-containers: '[
|
||||
@@ -162,7 +162,7 @@ spec:
|
||||
- metadata:
|
||||
name: datadir
|
||||
annotations:
|
||||
volume.beta.kubernetes.io/storage-class: {{.Values.StorageClass}}
|
||||
volume.alpha.kubernetes.io/storage-class: {{.Values.StorageClass}}
|
||||
spec:
|
||||
accessModes: [ "ReadWriteOnce" ]
|
||||
resources:
|
||||
|
||||
Reference in New Issue
Block a user