forked from hswaw/hscloud
hswaw/ldapweb: give admin rights to radex
Change-Id: I5d0ce4b500e7d9c9750dc5f306ea182013362838 Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1627 Reviewed-by: radex <radex@hackerspace.pl>
This commit is contained in:
parent
c5f466822e
commit
937722e465
1 changed files with 12 additions and 0 deletions
|
@ -152,4 +152,16 @@ local kube = import "../../kube/kube.libsonnet";
|
||||||
|||,
|
|||,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
|
admins: top.ns.Contain(kube.RoleBinding("admins")) {
|
||||||
|
roleRef: {
|
||||||
|
apiGroup: "rbac.authorization.k8s.io",
|
||||||
|
kind: "ClusterRole",
|
||||||
|
name: "system:admin-namespace",
|
||||||
|
},
|
||||||
|
subjects: [
|
||||||
|
kube.User("radex@hackerspace.pl"),
|
||||||
|
],
|
||||||
|
},
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue