dev: ignore kops-controller in hack/update-expected.sh

hack/update-expected.sh should ignore KOPSCONTROLLER_IMAGE when
regenerating the golden test outputs, just as it ignores the local
DNSCONTROLLER_IMAGE override.
This commit is contained in:
Justin Santa Barbara 2019-12-14 10:53:25 -05:00
parent 6c83861473
commit e479ecf682
1 changed files with 1 additions and 0 deletions

View File

@ -26,6 +26,7 @@ make kops-gobindata
# Don't override variables that are commonly used in dev, but shouldn't be in our tests
export KOPS_BASE_URL=
export DNSCONTROLLER_IMAGE=
export KOPSCONTROLLER_IMAGE=
# Run the tests in "autofix mode"
HACK_UPDATE_EXPECTED_IN_PLACE=1 go test ./... -count=1