From 016d508453b49b39b4a3e912909f29b9e5d35671 Mon Sep 17 00:00:00 2001 From: David Boreham Date: Fri, 16 Feb 2024 18:21:07 -0700 Subject: [PATCH] Fix up kind config file --- stack_orchestrator/deploy/k8s/helpers.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/stack_orchestrator/deploy/k8s/helpers.py b/stack_orchestrator/deploy/k8s/helpers.py index 84d7b354..80fb9c6a 100644 --- a/stack_orchestrator/deploy/k8s/helpers.py +++ b/stack_orchestrator/deploy/k8s/helpers.py @@ -326,6 +326,12 @@ def generate_kind_config(deployment_dir: Path, deployment_context): "apiVersion: kind.x-k8s.io/v1alpha4\n" "nodes:\n" "- role: control-plane\n" + " kubeadmConfigPatches:\n" + " - |\n" + " kind: InitConfiguration\n" + " nodeRegistration:\n" + " kubeletExtraArgs:\n" + " node-labels: \"ingress-ready=true\"\n" f"{port_mappings_yml}\n" f"{mounts_yml}\n" )