kuma{,-experimental,ctl,-cp,-dp}: migrate to by-name, preserve override behavior (#507629)
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
{
|
||||
kuma,
|
||||
...
|
||||
}@args:
|
||||
|
||||
kuma.override (
|
||||
{
|
||||
pname = "kumactl";
|
||||
isFull = false;
|
||||
components = [ "kumactl" ];
|
||||
}
|
||||
// removeAttrs args [ "kuma" ]
|
||||
)
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
kuma,
|
||||
...
|
||||
}@args:
|
||||
|
||||
kuma.override (
|
||||
{
|
||||
pname = "kuma-dp";
|
||||
isFull = false;
|
||||
components = [ "kuma-dp" ];
|
||||
}
|
||||
// removeAttrs args [ "kuma" ]
|
||||
)
|
||||
@@ -0,0 +1,14 @@
|
||||
{
|
||||
kuma,
|
||||
...
|
||||
}@args:
|
||||
|
||||
kuma.override (
|
||||
{
|
||||
pname = "kuma-experimental";
|
||||
isFull = true;
|
||||
enableGateway = true;
|
||||
|
||||
}
|
||||
// removeAttrs args [ "kuma" ]
|
||||
)
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
buildGoModule,
|
||||
coredns,
|
||||
installShellFiles,
|
||||
isFull ? false,
|
||||
isFull ? true,
|
||||
enableGateway ? false,
|
||||
pname ? "kuma",
|
||||
components ? lib.optionals isFull [
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
kuma,
|
||||
...
|
||||
}@args:
|
||||
|
||||
kuma.override (
|
||||
{
|
||||
pname = "kumactl";
|
||||
isFull = false;
|
||||
components = [ "kumactl" ];
|
||||
}
|
||||
// removeAttrs args [ "kuma" ]
|
||||
)
|
||||
@@ -9453,25 +9453,6 @@ with pkgs;
|
||||
linkerd_edge = callPackage ../applications/networking/cluster/linkerd/edge.nix { };
|
||||
linkerd_stable = linkerd;
|
||||
|
||||
kuma = callPackage ../applications/networking/cluster/kuma { isFull = true; };
|
||||
kuma-experimental = callPackage ../applications/networking/cluster/kuma {
|
||||
isFull = true;
|
||||
enableGateway = true;
|
||||
pname = "kuma-experimental";
|
||||
};
|
||||
kumactl = callPackage ../applications/networking/cluster/kuma {
|
||||
components = [ "kumactl" ];
|
||||
pname = "kumactl";
|
||||
};
|
||||
kuma-cp = callPackage ../applications/networking/cluster/kuma {
|
||||
components = [ "kuma-cp" ];
|
||||
pname = "kuma-cp";
|
||||
};
|
||||
kuma-dp = callPackage ../applications/networking/cluster/kuma {
|
||||
components = [ "kuma-dp" ];
|
||||
pname = "kuma-dp";
|
||||
};
|
||||
|
||||
kubernetes-helm = callPackage ../applications/networking/cluster/helm { };
|
||||
|
||||
wrapHelm = callPackage ../applications/networking/cluster/helm/wrapper.nix { };
|
||||
|
||||
Reference in New Issue
Block a user