dotfiles/terranix/main/kubernetes/generated/metallb/metallb-system.Role.metallb-controller.nix

75 lines
1.7 KiB
Nix
Raw Normal View History

{
apiVersion = "rbac.authorization.k8s.io/v1";
kind = "Role";
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-controller";
namespace = "metallb-system";
};
rules = [
{
apiGroups = [""];
resources = ["secrets"];
verbs = ["create" "get" "list" "watch"];
}
{
apiGroups = [""];
resourceNames = ["metallb-memberlist"];
resources = ["secrets"];
verbs = ["list"];
}
{
apiGroups = ["apps"];
resourceNames = ["metallb-controller"];
resources = ["deployments"];
verbs = ["get"];
}
{
apiGroups = [""];
resources = ["secrets"];
verbs = ["create" "delete" "get" "list" "patch" "update" "watch"];
}
{
apiGroups = ["metallb.io"];
resources = ["addresspools"];
verbs = ["get" "list" "watch"];
}
{
apiGroups = ["metallb.io"];
resources = ["ipaddresspools"];
verbs = ["get" "list" "watch"];
}
{
apiGroups = ["metallb.io"];
resources = ["bgppeers"];
verbs = ["get" "list"];
}
{
apiGroups = ["metallb.io"];
resources = ["bgpadvertisements"];
verbs = ["get" "list"];
}
{
apiGroups = ["metallb.io"];
resources = ["l2advertisements"];
verbs = ["get" "list"];
}
{
apiGroups = ["metallb.io"];
resources = ["communities"];
verbs = ["get" "list" "watch"];
}
{
apiGroups = ["metallb.io"];
resources = ["bfdprofiles"];
verbs = ["get" "list" "watch"];
}
];
}