diff --git a/deploy/kubernetes/attacher.yaml b/deploy/kubernetes/attacher.yaml index e587d21..b484d7b 100644 --- a/deploy/kubernetes/attacher.yaml +++ b/deploy/kubernetes/attacher.yaml @@ -4,27 +4,6 @@ metadata: name: csi-attacher-sa namespace: kube-system --- -kind: ClusterRole -apiVersion: rbac.authorization.k8s.io/v1 -metadata: - name: external-attacher-runner -rules: - - apiGroups: [""] - resources: ["secrets"] - verbs: ["get", "list"] - - apiGroups: [""] - resources: ["events"] - verbs: ["get", "list", "watch", "update"] - - apiGroups: [""] - resources: ["persistentvolumes"] - verbs: ["get", "list", "watch", "update"] - - apiGroups: [""] - resources: ["nodes"] - verbs: ["get", "list", "watch"] - - apiGroups: ["storage.k8s.io"] - resources: ["volumeattachments"] - verbs: ["get", "list", "watch", "update", "patch"] ---- kind: ClusterRoleBinding apiVersion: rbac.authorization.k8s.io/v1 metadata: @@ -35,7 +14,7 @@ subjects: namespace: kube-system roleRef: kind: ClusterRole - name: external-attacher-runner + name: cluster-admin apiGroup: rbac.authorization.k8s.io --- # needed for StatefulSet @@ -75,7 +54,7 @@ spec: operator: "Exists" containers: - name: csi-attacher - image: quay.io/k8scsi/csi-attacher:v2.2.0 + image: quay.io/k8scsi/csi-attacher:canary args: - "--v=4" - "--csi-address=$(ADDRESS)"