From 453e99a4eb050fe816ef4ee9b3f4891e52511941 Mon Sep 17 00:00:00 2001 From: justinsb Date: Thu, 4 May 2023 07:49:21 -0400 Subject: [PATCH] hack/update-expected: exclude DIGITALOCEAN_ACCESS_TOKEN We don't want this env var (which contains the user's digitalocean access token) to get into the expected output. --- hack/update-expected.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/hack/update-expected.sh b/hack/update-expected.sh index 7744b65cd4296..fdfbb5e0be6f9 100755 --- a/hack/update-expected.sh +++ b/hack/update-expected.sh @@ -32,6 +32,7 @@ unset KOPS_CLUSTER_NAME KOPS_RUN_OBSOLETE_VERSION KOPS_STATE_STORE KOPS_STATE_S3 unset SKIP_REGION_CHECK S3_ACCESS_KEY_ID S3_ENDPOINT S3_REGION S3_SECRET_ACCESS_KEY unset SCW_ACCESS_KEY SCW_SECRET_KEY SCW_DEFAULT_PROJECT_ID SCW_PROFILE unset AZURE_CLIENT_ID AZURE_CLIENT_SECRET AZURE_STORAGE_ACCOUNT AZURE_STORAGE_KEY AZURE_SUBSCRIPTION_ID AZURE_TENANT_ID +unset DIGITALOCEAN_ACCESS_TOKEN # Run the tests in "autofix mode" HACK_UPDATE_EXPECTED_IN_PLACE=1 go test "${PKG}" -count=1