Skip to content

Commit

Permalink
feat(helm): add labels to volumesnapshotclass (#1754)
Browse files Browse the repository at this point in the history
* feat(helm): add labels to volumesnapshotclass

* chore: revert version bump
  • Loading branch information
fad3t authored Sep 22, 2023
1 parent b88e7bb commit b3ffbf3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions charts/aws-ebs-csi-driver/templates/volumesnapshotclass.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ metadata:
{{- with .annotations }}
annotations: {{- . | toYaml | trim | nindent 4 }}
{{- end }}
{{- with .labels }}
labels: {{- . | toYaml | trim | nindent 4 }}
{{- end }}
driver: ebs.csi.aws.com
deletionPolicy: {{ .deletionPolicy }}
{{- with .parameters }}
Expand Down
3 changes: 3 additions & 0 deletions charts/aws-ebs-csi-driver/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -404,6 +404,9 @@ volumeSnapshotClasses: []
# # annotation metadata
# annotations:
# snapshot.storage.kubernetes.io/is-default-class: "true"
# # label metadata
# labels:
# my-label-is: supercool
# # deletionPolicy must be specified
# deletionPolicy: Delete
# parameters:
Expand Down

0 comments on commit b3ffbf3

Please sign in to comment.