mirror of https://gerrit.hackerspace.pl/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>changes/27/1627/2
parent
c5f466822e
commit
937722e465
|
@ -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 New Issue