Merge pull request #4776 from irbekrm/dry_run_arg

Fixes ./devel/cluster/create.sh script
This commit is contained in:
jetstack-bot 2022-01-24 16:24:19 +00:00 committed by GitHub
commit 08cc2ee4fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 -