KubeZero/charts/kubezero-storage/templates/ebs/volumesnapshotclass.yaml

13 lines
350 B
YAML
Raw Permalink Normal View History

{{- if index .Values "aws-ebs-csi-driver" "enabled" }}
kind: VolumeSnapshotClass
apiVersion: snapshot.storage.k8s.io/v1
metadata:
name: csi-aws-ebs
#annotations:
# snapshot.storage.kubernetes.io/is-default-class: "true"
labels:
{{- include "kubezero-lib.labels" . | nindent 4 }}
deletionPolicy: Delete
driver: ebs.csi.aws.com
{{- end }}