Skip to content

Commit d7db904

Browse files
authored
Merge pull request kubernetes#76192 from wongma7/hostpath-provisioner
Update csi-hostpath-provisioner to v1.1.0-rc2
2 parents 5c205da + c802f81 commit d7db904

File tree

2 files changed

+12
-5
lines changed

2 files changed

+12
-5
lines changed

test/e2e/testing-manifests/storage-csi/external-provisioner/rbac.yaml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,14 @@ apiVersion: rbac.authorization.k8s.io/v1
2121
metadata:
2222
name: external-provisioner-runner
2323
rules:
24-
- apiGroups: [""]
25-
resources: ["secrets"]
26-
verbs: ["get", "list"]
24+
# The following rule should be uncommented for plugins that require secrets
25+
# for provisioning.
26+
# - apiGroups: [""]
27+
# resources: ["secrets"]
28+
# verbs: ["get", "list"]
2729
- apiGroups: [""]
2830
resources: ["persistentvolumes"]
29-
verbs: ["get", "list", "watch", "create", "delete"]
31+
verbs: ["get", "list", "watch", "update", "create", "delete"]
3032
- apiGroups: [""]
3133
resources: ["persistentvolumeclaims"]
3234
verbs: ["get", "list", "watch", "update"]
@@ -74,9 +76,14 @@ metadata:
7476
namespace: default
7577
name: external-provisioner-cfg
7678
rules:
79+
# Only one of the following rules for endpoints or leases is required based on
80+
# what is set for `--leader-election-type`. Endpoints are deprecated in favor of Leases.
7781
- apiGroups: [""]
7882
resources: ["endpoints"]
7983
verbs: ["get", "watch", "list", "delete", "update", "create"]
84+
- apiGroups: ["coordination.k8s.io"]
85+
resources: ["leases"]
86+
verbs: ["get", "watch", "list", "delete", "update", "create"]
8087

8188
---
8289
kind: RoleBinding

test/e2e/testing-manifests/storage-csi/hostpath/hostpath/csi-hostpath-provisioner.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ spec:
3030
serviceAccountName: csi-provisioner
3131
containers:
3232
- name: csi-provisioner
33-
image: quay.io/k8scsi/csi-provisioner:v1.0.1
33+
image: quay.io/k8scsi/csi-provisioner:v1.1.0-rc2
3434
args:
3535
- "--provisioner=csi-hostpath"
3636
- "--csi-address=$(ADDRESS)"

0 commit comments

Comments
 (0)