Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

Check for a .gcr.io suffix too. #882

Merged
merged 1 commit into from
Dec 22, 2017
Merged

Conversation

mithrandi
Copy link
Contributor

@mithrandi mithrandi commented Dec 22, 2017

Closes #878.

There doesn't seem to be unit test coverage of this code path, but I have tested the fix manually in my cluster and it works. (Open to suggestions about how I could add tests, if relevant)

Copy link
Member

@squaremo squaremo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💯 thank you!

@squaremo
Copy link
Member

There doesn't seem to be unit test coverage of this code path, but I have tested the fix manually in my cluster and it works.

Yeah, tricky to get test coverage on this one. We'd have to fake the environment so much, it'd be more of a test of our ability to do that, than the code itself.

@squaremo squaremo merged commit 9dc1b12 into fluxcd:master Dec 22, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support gcr hostnames other than gcr.io
2 participants