Skip to content

Commit 95ed23b

Browse files
author
Shawn Hurley
committed
Updating readme based on new flag for webhook
* Adding volumesnapshotclasses to admission configuration template
1 parent a6cb2bc commit 95ed23b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ Read more about how to install the example webhook [here](deploy/kubernetes/webh
128128

129129
##### Volume Snapshot Classes
130130

131-
* There can only be a single default volume snapshot class for a particular driver.
131+
* There can only be a single default volume snapshot class for a particular driver.
132132

133133
### Distributed Snapshotting
134134

deploy/kubernetes/webhook-example/admission-configuration-template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ webhooks:
88
- apiGroups: ["snapshot.storage.k8s.io"]
99
apiVersions: ["v1", "v1beta1"]
1010
operations: ["CREATE", "UPDATE"]
11-
resources: ["volumesnapshots", "volumesnapshotcontents"]
11+
resources: ["volumesnapshots", "volumesnapshotcontents", "volumesnapshotclasses"]
1212
scope: "*"
1313
clientConfig:
1414
service:

0 commit comments

Comments
 (0)