Unverified Commit 9c31e033 authored by Yohann Boniface's avatar Yohann Boniface Committed by GitHub
Browse files

kubernetes: don't hardcode kubeadm, make it an overridable component (#446317)

parents aa11953e 9cf2ff86
Loading
Loading
Loading
Loading
+2 −6
Original line number Diff line number Diff line
@@ -12,6 +12,7 @@
  nix-update-script,

  components ? [
    "cmd/kubeadm"
    "cmd/kubelet"
    "cmd/kube-apiserver"
    "cmd/kube-controller-manager"
@@ -50,12 +51,7 @@ buildGoModule (finalAttrs: {

  patches = [ ./fixup-addonmanager-lib-path.patch ];

  WHAT = lib.concatStringsSep " " (
    [
      "cmd/kubeadm"
    ]
    ++ components
  );
  WHAT = lib.concatStringsSep " " components;

  buildPhase = ''
    runHook preBuild