mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-12-03 21:46:14 +01:00
27 lines
641 B
Nix
27 lines
641 B
Nix
|
{
|
||
|
apiVersion = "rbac.authorization.k8s.io/v1";
|
||
|
kind = "ClusterRoleBinding";
|
||
|
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";
|
||
|
};
|
||
|
roleRef = {
|
||
|
apiGroup = "rbac.authorization.k8s.io";
|
||
|
kind = "ClusterRole";
|
||
|
name = "metallb:controller";
|
||
|
};
|
||
|
subjects = [
|
||
|
{
|
||
|
kind = "ServiceAccount";
|
||
|
name = "metallb-controller";
|
||
|
namespace = "metallb-system";
|
||
|
}
|
||
|
];
|
||
|
}
|