dotfiles/terranix/main/kubernetes/generated/metallb/metallb-system.Role.metallb-controller.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

75 lines
1.7 KiB
Nix

{
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"];
}
];
}