Skip to content

Commit

Permalink
Merge pull request #129 from huffmanca/include-vsc-by-default
Browse files Browse the repository at this point in the history
Bug 1969538: Include default VolumeSnapshotClass
  • Loading branch information
openshift-merge-robot committed Jun 8, 2021
2 parents 255d775 + 6e5718a commit d1fe616
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 3 deletions.
8 changes: 8 additions & 0 deletions assets/volumesnapshotclass.yaml
@@ -0,0 +1,8 @@
apiVersion: snapshot.storage.k8s.io/v1
kind: VolumeSnapshotClass
metadata:
name: csi-aws-vsc
annotations:
snapshot.storage.kubernetes.io/is-default-class: "true"
driver: ebs.csi.aws.com
deletionPolicy: Delete
33 changes: 30 additions & 3 deletions pkg/generated/bindata.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions pkg/operator/starter.go
Expand Up @@ -91,6 +91,7 @@ func RunOperator(ctx context.Context, controllerConfig *controllercmd.Controller
generated.Asset,
[]string{
"storageclass.yaml",
"volumesnapshotclass.yaml",
"csidriver.yaml",
"controller_sa.yaml",
"controller_pdb.yaml",
Expand Down

0 comments on commit d1fe616

Please sign in to comment.