From 754193de4180335a06d8af4615aef81b1a2bf484 Mon Sep 17 00:00:00 2001 From: irbekrm Date: Mon, 24 Jan 2022 15:36:02 +0000 Subject: [PATCH] Passes --dry-run=client option when applying coredns config to test kind cluster As --dry-run without an explicitly specified option is invalid since kubectl 1.23 Signed-off-by: irbekrm --- devel/cluster/create-kind.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devel/cluster/create-kind.sh b/devel/cluster/create-kind.sh index 1b86aceff..cb70d96ca 100755 --- a/devel/cluster/create-kind.sh +++ b/devel/cluster/create-kind.sh @@ -80,4 +80,4 @@ fixed_coredns_config=$( ) echo "Patched CoreDNS config:" echo "${fixed_coredns_config}" -kubectl create configmap -oyaml coredns --dry-run --from-literal=Corefile="${fixed_coredns_config}" | kubectl apply --namespace kube-system -f - +kubectl create configmap -oyaml coredns --dry-run=client --from-literal=Corefile="${fixed_coredns_config}" | kubectl apply --namespace kube-system -f -