From 7459bbcd89b18f9d17df0d57d91d448cc8dd6e0b Mon Sep 17 00:00:00 2001 From: Serge Bazanski Date: Fri, 28 Jul 2023 17:14:29 +0000 Subject: [PATCH] hswaw/kube: give ar prod access Change-Id: I1d03232389a53f7e3a52a3f695071e719482355b Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1544 Reviewed-by: ar --- hswaw/kube/hswaw.jsonnet | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/hswaw/kube/hswaw.jsonnet b/hswaw/kube/hswaw.jsonnet index adb10a81..38362b32 100644 --- a/hswaw/kube/hswaw.jsonnet +++ b/hswaw/kube/hswaw.jsonnet @@ -85,4 +85,18 @@ local capacifier = import "capacifier.libsonnet"; }, }, }, + + admins: kube.RoleBinding("admins") { + metadata+: { + namespace: "hswaw-prod", + }, + roleRef: { + apiGroup: "rbac.authorization.k8s.io", + kind: "ClusterRole", + name: "system:admin-namespace", + }, + subjects: [ + kube.User("ar@hackerspace.pl"), + ], + }, }