diff --git a/packages/system/dashboard/Makefile b/packages/system/dashboard/Makefile index ed2ba890..1f74e259 100644 --- a/packages/system/dashboard/Makefile +++ b/packages/system/dashboard/Makefile @@ -4,6 +4,8 @@ export NAMESPACE=cozy-$(NAME) include ../../../hack/common-envs.mk include ../../../hack/package.mk +.PHONY: image image-console image-token-proxy + image: image-console image-token-proxy CONSOLE_REPO ?= https://github.com/cozystack/cozystack-ui.git diff --git a/packages/system/dashboard/templates/clusterrolebinding-web-user-edit.yaml b/packages/system/dashboard/templates/clusterrolebinding-web-user-edit.yaml index 4d951787..00df8018 100644 --- a/packages/system/dashboard/templates/clusterrolebinding-web-user-edit.yaml +++ b/packages/system/dashboard/templates/clusterrolebinding-web-user-edit.yaml @@ -2,7 +2,7 @@ apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: annotations: {} - name: incloud-web-web-user-edit + name: cozystack-dashboard-cluster-admin roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole diff --git a/packages/system/dashboard/templates/rbac.yaml b/packages/system/dashboard/templates/rbac.yaml index b37a68b2..c64e851f 100644 --- a/packages/system/dashboard/templates/rbac.yaml +++ b/packages/system/dashboard/templates/rbac.yaml @@ -12,16 +12,6 @@ rules: - get - list - watch -- apiGroups: - - core.cozystack.io - resources: - - tenantmodules - - tenantnamespaces - - tenantsecrets - verbs: - - get - - list - - watch - apiGroups: - dashboard.cozystack.io resources: @@ -46,20 +36,6 @@ rules: - get - list - watch -- apiGroups: - - kubevirt.io - resources: - - virtualmachineinstances - verbs: - - get - - list - - watch -- apiGroups: - - subresources.kubevirt.io - resources: - - virtualmachineinstances/vnc - verbs: - - get --- apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding