Dev env storage class definition
This commit is contained in:
parent
18f7a91bf3
commit
55927fb5d4
11
opencloud/templates/storageClass.yaml
Normal file
11
opencloud/templates/storageClass.yaml
Normal file
@ -0,0 +1,11 @@
|
||||
{{- if eq .Values.env "dev" }}
|
||||
apiVersion: storage.k8s.io/v1
|
||||
kind: StorageClass
|
||||
metadata:
|
||||
name: kind-sc
|
||||
annotations:
|
||||
helm.sh/resource-policy: keep
|
||||
provisioner: rancher.io/local-path
|
||||
reclaimPolicy: Retain
|
||||
volumeBindingMode: WaitForFirstConsumer
|
||||
{{- end }}
|
Loading…
Reference in New Issue
Block a user