From 6c9c62a582b4747ab043dfc25fe54fdf64cd2a83 Mon Sep 17 00:00:00 2001 From: homejacob Date: Tue, 30 Sep 2025 11:59:33 +0200 Subject: [PATCH] ref admin user dashboard --- helm/dashboard/admin.yaml | 18 ------------------ helm/dashboard/values.yaml | 2 ++ 2 files changed, 2 insertions(+), 18 deletions(-) delete mode 100644 helm/dashboard/admin.yaml diff --git a/helm/dashboard/admin.yaml b/helm/dashboard/admin.yaml deleted file mode 100644 index 7ba014d..0000000 --- a/helm/dashboard/admin.yaml +++ /dev/null @@ -1,18 +0,0 @@ -apiVersion: v1 -kind: ServiceAccount -metadata: - name: admin-user - namespace: i-dashboard ---- -apiVersion: rbac.authorization.k8s.io/v1 -kind: ClusterRoleBinding -metadata: - name: admin-user -roleRef: - apiGroup: rbac.authorization.k8s.io - kind: ClusterRole - name: cluster-admin -subjects: -- kind: ServiceAccount - name: admin-user - namespace: i-dashboard diff --git a/helm/dashboard/values.yaml b/helm/dashboard/values.yaml index 804457e..e177d53 100644 --- a/helm/dashboard/values.yaml +++ b/helm/dashboard/values.yaml @@ -8,3 +8,5 @@ resources: requests: cpu: 100m memory: 100Mi +serviceAccount: + name: admin-user