mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-12-04 05:56:14 +01:00
03b54bd52b
Signed-off-by: magic_rb <magic_rb@redalder.org>
29 lines
655 B
Nix
29 lines
655 B
Nix
{
|
|
apiVersion = "v1";
|
|
kind = "Service";
|
|
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-webhook-service";
|
|
namespace = "metallb-system";
|
|
};
|
|
spec = {
|
|
ports = [
|
|
{
|
|
port = 443;
|
|
targetPort = 9443;
|
|
}
|
|
];
|
|
selector = {
|
|
"app.kubernetes.io/component" = "controller";
|
|
"app.kubernetes.io/instance" = "metallb";
|
|
"app.kubernetes.io/name" = "metallb";
|
|
};
|
|
};
|
|
}
|