We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f9ef7ec + 85b34ef commit 548ab9fCopy full SHA for 548ab9f
hack/create-custom-cloud-provider-config.sh
@@ -28,7 +28,8 @@ make --directory="${REPO_ROOT}" "${KUBECTL##*/}"
28
if [[ -n "${CUSTOM_CLOUD_PROVIDER_CONFIG:-}" ]]; then
29
curl --retry 3 -sL -o tmp_azure_json "${CUSTOM_CLOUD_PROVIDER_CONFIG}"
30
envsubst < tmp_azure_json > azure_json
31
- kubectl create secret generic "${CLUSTER_NAME}-control-plane-azure-json" \
+ "${KUBECTL}" delete secret "${CLUSTER_NAME}-control-plane-azure-json" || true
32
+ "${KUBECTL}" create secret generic "${CLUSTER_NAME}-control-plane-azure-json" \
33
--from-file=control-plane-azure.json=azure_json \
34
--from-file=worker-node-azure.json=azure_json
35
rm tmp_azure_json azure_json
0 commit comments