mirror of https://github.com/kubernetes/kops.git
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.
This commit is contained in:
parent
c7b5e706ce
commit
453e99a4eb
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue