nixos-servers/modules/k3s/bootstrap.nix

21 lines
397 B
Nix
Raw Normal View History

2024-10-28 13:12:06 +00:00
{kubenix, ...}: {
imports = [kubenix.modules.k8s];
2024-03-22 19:19:52 +00:00
kubernetes.resources.clusterRoleBindings.cluster-admins = {
2024-03-19 21:56:52 +00:00
roleRef = {
apiGroup = "rbac.authorization.k8s.io";
kind = "ClusterRole";
name = "cluster-admin";
};
subjects = [
{
kind = "User";
name = "pim";
}
2024-03-22 19:19:52 +00:00
{
kind = "User";
name = "niels";
}
2024-03-19 21:56:52 +00:00
];
};
}