mirror of
https://github.com/cozystack/cozystack.git
synced 2026-11-09 14:02:56 +09:00
fix(dashboard): complete migration to cozy-dashboard naming and fix RBAC
- Rename ClusterRoleBinding and update ServiceAccount references - Update FlowSchema to use new cozy-dashboard-console service account - Add core.cozystack.io permissions for tenant resources Signed-off-by: IvanHunters <ivan.okhotnikov@aenix.io>
This commit is contained in:
3 files changed
+14
-4
No files matched your search
@@ -1,12 +1,12 @@
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: ClusterRoleBinding
|
||||
metadata:
|
||||
name: incloud-web-cluster-view
|
||||
name: cozy-dashboard-cluster-view
|
||||
roleRef:
|
||||
apiGroup: rbac.authorization.k8s.io
|
||||
kind: ClusterRole
|
||||
name: view
|
||||
subjects:
|
||||
- kind: ServiceAccount
|
||||
name: incloud-web-web
|
||||
namespace: incloud-web
|
||||
name: cozy-dashboard-console
|
||||
namespace: {{ .Release.Namespace }}
|
||||
@@ -10,7 +10,7 @@ spec:
|
||||
- subjects:
|
||||
- kind: ServiceAccount
|
||||
serviceAccount:
|
||||
name: incloud-web-web
|
||||
name: cozy-dashboard-console
|
||||
namespace: {{ .Release.Namespace }}
|
||||
resourceRules:
|
||||
- verbs: ["*"]
|
||||
|
||||
@@ -12,6 +12,16 @@ rules:
|
||||
- get
|
||||
- list
|
||||
- watch
|
||||
- apiGroups:
|
||||
- core.cozystack.io
|
||||
resources:
|
||||
- tenantmodules
|
||||
- tenantnamespaces
|
||||
- tenantsecrets
|
||||
verbs:
|
||||
- get
|
||||
- list
|
||||
- watch
|
||||
- apiGroups:
|
||||
- dashboard.cozystack.io
|
||||
resources:
|
||||
|
||||
Reference in new issue
Block a user