21 lines
397 B
Nix
21 lines
397 B
Nix
|
{kubenix, ...}: {
|
||
|
imports = [kubenix.modules.k8s];
|
||
|
kubernetes.resources.clusterRoleBindings.cluster-admins = {
|
||
|
roleRef = {
|
||
|
apiGroup = "rbac.authorization.k8s.io";
|
||
|
kind = "ClusterRole";
|
||
|
name = "cluster-admin";
|
||
|
};
|
||
|
subjects = [
|
||
|
{
|
||
|
kind = "User";
|
||
|
name = "pim";
|
||
|
}
|
||
|
{
|
||
|
kind = "User";
|
||
|
name = "niels";
|
||
|
}
|
||
|
];
|
||
|
};
|
||
|
}
|