mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-12-03 13:36:12 +01:00
03b54bd52b
Signed-off-by: magic_rb <magic_rb@redalder.org>
32 lines
759 B
Nix
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"];
|
|
}
|
|
];
|
|
}
|