Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions deploy/kubernetes/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ kind: Deployment
apiVersion: apps/v1
metadata:
name: csi-provisioner
labels:
app: csi-provisioner
spec:
replicas: 3
selector:
Expand Down
10 changes: 10 additions & 0 deletions deploy/kubernetes/rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,16 @@ metadata:
name: csi-provisioner
# replace with non-default namespace name
namespace: default
labels:
app: csi-provisioner

---
kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: external-provisioner-runner
labels:
app: csi-provisioner
rules:
# The following rule should be uncommented for plugins that require secrets
# for provisioning.
Expand Down Expand Up @@ -63,6 +67,8 @@ kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: csi-provisioner-role
labels:
app: csi-provisioner
subjects:
- kind: ServiceAccount
name: csi-provisioner
Expand All @@ -82,6 +88,8 @@ metadata:
# replace with non-default namespace name
namespace: default
name: external-provisioner-cfg
labels:
app: csi-provisioner
rules:
# Only one of the following rules for endpoints or leases is required based on
# what is set for `--leader-election-type`. Endpoints are deprecated in favor of Leases.
Expand Down Expand Up @@ -114,6 +122,8 @@ metadata:
name: csi-provisioner-role-cfg
# replace with non-default namespace name
namespace: default
labels:
app: csi-provisioner
subjects:
- kind: ServiceAccount
name: csi-provisioner
Expand Down
2 changes: 2 additions & 0 deletions deploy/kubernetes/storage-capacity.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ kind: Deployment
apiVersion: apps/v1
metadata:
name: csi-provisioner
labels:
app: csi-provisioner
spec:
replicas: 3
selector:
Expand Down