From 46d3aee37170672213e544ce1e4fd370c097165e Mon Sep 17 00:00:00 2001 From: homejacob Date: Tue, 30 Sep 2025 11:54:05 +0200 Subject: [PATCH] add dashboard admin user --- helm/dashboard/admin.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 helm/dashboard/admin.yaml diff --git a/helm/dashboard/admin.yaml b/helm/dashboard/admin.yaml new file mode 100644 index 0000000..7ba014d --- /dev/null +++ b/helm/dashboard/admin.yaml @@ -0,0 +1,18 @@ +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