Skip to content

Commit

Permalink
Remove tenet-manager-admin ClusterRoleBinding
Browse files Browse the repository at this point in the history
Signed-off-by: terashima <[email protected]>
  • Loading branch information
terassyi committed Jul 2, 2024
1 parent b8260f4 commit b728739
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 31 deletions.
18 changes: 0 additions & 18 deletions charts/tenet/templates/generated/generated.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -192,24 +192,6 @@ subjects:
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
labels:
app.kubernetes.io/managed-by: '{{ .Release.Service }}'
app.kubernetes.io/name: '{{ include "tenet.name" . }}'
app.kubernetes.io/version: '{{ .Chart.AppVersion }}'
helm.sh/chart: '{{ include "tenet.chart" . }}'
name: '{{ template "tenet.fullname" . }}-manager-admin'
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: admin
subjects:
- kind: ServiceAccount
name: '{{ template "tenet.fullname" . }}-controller-manager'
namespace: '{{ .Release.Namespace }}'
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
labels:
app.kubernetes.io/managed-by: '{{ .Release.Service }}'
Expand Down
13 changes: 0 additions & 13 deletions config/rbac/role_binding.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,3 @@ subjects:
- kind: ServiceAccount
name: controller-manager
namespace: system
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: manager-admin
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: admin
subjects:
- kind: ServiceAccount
name: controller-manager
namespace: system

0 comments on commit b728739

Please sign in to comment.