Skip to content

Commit

Permalink
fix: remove namespace in ClusterRole
Browse files Browse the repository at this point in the history
update chart file
  • Loading branch information
andyzhangx committed May 1, 2021
1 parent 332e3c2 commit f31198b
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 12 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/windows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
build:
strategy:
matrix:
go-versions: [1.15.x]
go-versions: [1.16.x]
platform: [windows-latest]
runs-on: ${{ matrix.platform }}
steps:
Expand Down
Binary file modified charts/latest/blob-csi-driver-v1.1.0.tgz
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: blob-csi-provisioner-binding
namespace: {{ .Release.Namespace }}
{{ include "blob.labels" . | indent 2 }}
subjects:
- kind: ServiceAccount
Expand All @@ -50,7 +49,6 @@ kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: blob-external-resizer-role
namespace: {{ .Release.Namespace }}
{{ include "blob.labels" . | indent 2 }}
rules:
- apiGroups: [""]
Expand All @@ -73,7 +71,6 @@ kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: blob-csi-resizer-role
namespace: {{ .Release.Namespace }}
{{ include "blob.labels" . | indent 2 }}
subjects:
- kind: ServiceAccount
Expand Down Expand Up @@ -153,7 +150,6 @@ kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: blob-csi-snapshotter-binding
namespace: {{ .Release.Namespace }}
{{ include "blob.labels" . | indent 2 }}
subjects:
- kind: ServiceAccount
Expand All @@ -168,7 +164,6 @@ roleRef:
kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1
metadata:
namespace: {{ .Release.Namespace }}
name: csi-blob-controller-secret-role
rules:
- apiGroups: [""]
Expand All @@ -180,7 +175,6 @@ kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: csi-blob-controller-secret-binding
namespace: {{ .Release.Namespace }}
subjects:
- kind: ServiceAccount
name: csi-blob-controller-sa
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: csi-blob-node-secret-binding
namespace: {{ .Release.Namespace }}
subjects:
- kind: ServiceAccount
name: csi-blob-node-sa
Expand Down
2 changes: 0 additions & 2 deletions deploy/rbac-csi-blob-controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,6 @@ kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: csi-blob-controller-secret-role
namespace: kube-system
rules:
- apiGroups: [""]
resources: ["secrets"]
Expand All @@ -139,7 +138,6 @@ kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: csi-blob-controller-secret-binding
namespace: kube-system
subjects:
- kind: ServiceAccount
name: csi-blob-controller-sa
Expand Down
2 changes: 0 additions & 2 deletions deploy/rbac-csi-blob-node.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: csi-blob-node-secret-role
namespace: kube-system
rules:
- apiGroups: [""]
resources: ["secrets"]
Expand All @@ -21,7 +20,6 @@ kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: csi-blob-node-secret-binding
namespace: kube-system
subjects:
- kind: ServiceAccount
name: csi-blob-node-sa
Expand Down

0 comments on commit f31198b

Please sign in to comment.