Fix up kind config file
All checks were successful
Lint Checks / Run linter (pull_request) Successful in 35s
Deploy Test / Run deploy test suite (pull_request) Successful in 4m36s
Webapp Test / Run webapp test suite (pull_request) Successful in 3m58s
K8s Deploy Test / Run deploy test suite on kind/k8s (pull_request) Successful in 8m48s
Smoke Test / Run basic test suite (pull_request) Successful in 4m21s

This commit is contained in:
David Boreham 2024-02-16 18:21:07 -07:00
parent c694074225
commit 016d508453

View File

@ -326,6 +326,12 @@ def generate_kind_config(deployment_dir: Path, deployment_context):
"apiVersion: kind.x-k8s.io/v1alpha4\n" "apiVersion: kind.x-k8s.io/v1alpha4\n"
"nodes:\n" "nodes:\n"
"- role: control-plane\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"{port_mappings_yml}\n"
f"{mounts_yml}\n" f"{mounts_yml}\n"
) )