From 1917001c7f52295fb3bb36513abe6977ddb03e00 Mon Sep 17 00:00:00 2001 From: Pim Kunis Date: Fri, 22 Mar 2024 20:19:52 +0100 Subject: [PATCH] add niels to kubernetes admins --- nix/modules/k3s/bootstrap.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/nix/modules/k3s/bootstrap.nix b/nix/modules/k3s/bootstrap.nix index 20515d5..28a8aa9 100644 --- a/nix/modules/k3s/bootstrap.nix +++ b/nix/modules/k3s/bootstrap.nix @@ -1,6 +1,6 @@ { kubenix, ... }: { imports = [ kubenix.modules.k8s ]; - kubernetes.resources.clusterRoleBindings.pim-cluster-admin = { + kubernetes.resources.clusterRoleBindings.cluster-admins = { roleRef = { apiGroup = "rbac.authorization.k8s.io"; kind = "ClusterRole"; @@ -11,6 +11,10 @@ kind = "User"; name = "pim"; } + { + kind = "User"; + name = "niels"; + } ]; }; }