2020-05-19 14:13:41 +00:00
|
|
|
{{- if index .Values "aws-ebs-csi-driver" "enableVolumeSnapshot" }}
|
|
|
|
apiVersion: snapshot.storage.k8s.io/v1beta1
|
|
|
|
kind: VolumeSnapshotClass
|
|
|
|
metadata:
|
|
|
|
name: csi-aws-vsc
|
2021-04-19 10:46:42 +00:00
|
|
|
annotations:
|
|
|
|
snapshot.storage.kubernetes.io/is-default-class: "true"
|
2020-05-19 14:13:41 +00:00
|
|
|
labels:
|
|
|
|
{{ include "kubezero-lib.labels" . | indent 4 }}
|
|
|
|
driver: ebs.csi.aws.com
|
|
|
|
deletionPolicy: Delete
|
|
|
|
{{- end }}
|