Add kube-scheduler.

This commit is contained in:
Tom Alexander
2025-12-15 20:09:46 -05:00
parent efa1e3247a
commit 5c58e30709
10 changed files with 95 additions and 73 deletions

View File

@@ -8,6 +8,7 @@
# installCheckPhase
# distPhase
{
lib,
stdenv,
k8s,
kubectl,
@@ -27,7 +28,7 @@ stdenv.mkDerivation (finalAttrs: {
kubectl config set-cluster kubernetes-the-hard-way \
--certificate-authority=${k8s.ca}/ca.crt \
--embed-certs=true \
--server=${config_server} \
--server=${lib.strings.escapeShellArg config_server} \
--kubeconfig=${config_name}.kubeconfig
kubectl config set-credentials ${config_user} \