Skip to content

Commit f31198b

Browse files
committed
fix: remove namespace in ClusterRole
update chart file
1 parent 332e3c2 commit f31198b

File tree

6 files changed

+1
-12
lines changed

6 files changed

+1
-12
lines changed

.github/workflows/windows.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66
build:
77
strategy:
88
matrix:
9-
go-versions: [1.15.x]
9+
go-versions: [1.16.x]
1010
platform: [windows-latest]
1111
runs-on: ${{ matrix.platform }}
1212
steps:
-6 Bytes
Binary file not shown.

charts/latest/blob-csi-driver/templates/rbac-csi-blob-controller.yaml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ kind: ClusterRoleBinding
3333
apiVersion: rbac.authorization.k8s.io/v1
3434
metadata:
3535
name: blob-csi-provisioner-binding
36-
namespace: {{ .Release.Namespace }}
3736
{{ include "blob.labels" . | indent 2 }}
3837
subjects:
3938
- kind: ServiceAccount
@@ -50,7 +49,6 @@ kind: ClusterRole
5049
apiVersion: rbac.authorization.k8s.io/v1
5150
metadata:
5251
name: blob-external-resizer-role
53-
namespace: {{ .Release.Namespace }}
5452
{{ include "blob.labels" . | indent 2 }}
5553
rules:
5654
- apiGroups: [""]
@@ -73,7 +71,6 @@ kind: ClusterRoleBinding
7371
apiVersion: rbac.authorization.k8s.io/v1
7472
metadata:
7573
name: blob-csi-resizer-role
76-
namespace: {{ .Release.Namespace }}
7774
{{ include "blob.labels" . | indent 2 }}
7875
subjects:
7976
- kind: ServiceAccount
@@ -153,7 +150,6 @@ kind: ClusterRoleBinding
153150
apiVersion: rbac.authorization.k8s.io/v1
154151
metadata:
155152
name: blob-csi-snapshotter-binding
156-
namespace: {{ .Release.Namespace }}
157153
{{ include "blob.labels" . | indent 2 }}
158154
subjects:
159155
- kind: ServiceAccount
@@ -168,7 +164,6 @@ roleRef:
168164
kind: ClusterRole
169165
apiVersion: rbac.authorization.k8s.io/v1
170166
metadata:
171-
namespace: {{ .Release.Namespace }}
172167
name: csi-blob-controller-secret-role
173168
rules:
174169
- apiGroups: [""]
@@ -180,7 +175,6 @@ kind: ClusterRoleBinding
180175
apiVersion: rbac.authorization.k8s.io/v1
181176
metadata:
182177
name: csi-blob-controller-secret-binding
183-
namespace: {{ .Release.Namespace }}
184178
subjects:
185179
- kind: ServiceAccount
186180
name: csi-blob-controller-sa

charts/latest/blob-csi-driver/templates/rbac-csi-blob-node.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ kind: ClusterRoleBinding
1515
apiVersion: rbac.authorization.k8s.io/v1
1616
metadata:
1717
name: csi-blob-node-secret-binding
18-
namespace: {{ .Release.Namespace }}
1918
subjects:
2019
- kind: ServiceAccount
2120
name: csi-blob-node-sa

deploy/rbac-csi-blob-controller.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,6 @@ kind: ClusterRole
128128
apiVersion: rbac.authorization.k8s.io/v1
129129
metadata:
130130
name: csi-blob-controller-secret-role
131-
namespace: kube-system
132131
rules:
133132
- apiGroups: [""]
134133
resources: ["secrets"]
@@ -139,7 +138,6 @@ kind: ClusterRoleBinding
139138
apiVersion: rbac.authorization.k8s.io/v1
140139
metadata:
141140
name: csi-blob-controller-secret-binding
142-
namespace: kube-system
143141
subjects:
144142
- kind: ServiceAccount
145143
name: csi-blob-controller-sa

deploy/rbac-csi-blob-node.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ kind: ClusterRole
1010
apiVersion: rbac.authorization.k8s.io/v1
1111
metadata:
1212
name: csi-blob-node-secret-role
13-
namespace: kube-system
1413
rules:
1514
- apiGroups: [""]
1615
resources: ["secrets"]
@@ -21,7 +20,6 @@ kind: ClusterRoleBinding
2120
apiVersion: rbac.authorization.k8s.io/v1
2221
metadata:
2322
name: csi-blob-node-secret-binding
24-
namespace: kube-system
2523
subjects:
2624
- kind: ServiceAccount
2725
name: csi-blob-node-sa

0 commit comments

Comments
 (0)