dotfiles/terranix/main/kubernetes/generated/metallb/default.ClusterRole.metallb-speaker.nix
magic_rb 03b54bd52b
Use helm2nix2terraform to create nix files from helm charts
Signed-off-by: magic_rb <magic_rb@redalder.org>
2024-04-07 13:24:08 +02:00

32 lines
759 B
Nix

{
apiVersion = "rbac.authorization.k8s.io/v1";
kind = "ClusterRole";
metadata = {
labels = {
"app.kubernetes.io/instance" = "metallb";
"app.kubernetes.io/managed-by" = "Helm";
"app.kubernetes.io/name" = "metallb";
"app.kubernetes.io/version" = "v0.14.3";
"helm.sh/chart" = "metallb-0.14.3";
};
name = "metallb:speaker";
};
rules = [
{
apiGroups = [""];
resources = ["services" "endpoints" "nodes" "namespaces"];
verbs = ["get" "list" "watch"];
}
{
apiGroups = ["discovery.k8s.io"];
resources = ["endpointslices"];
verbs = ["get" "list" "watch"];
}
{
apiGroups = [""];
resources = ["events"];
verbs = ["create" "patch"];
}
];
}