Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build plugin external image #27

Merged
merged 2 commits into from
Sep 20, 2019

Conversation

sseago
Copy link
Collaborator

@sseago sseago commented Sep 19, 2019

This PR pulls in fixes for the following issues with build/buildconfig:

This commit fixes several problems with the build plugin:

Don't abandon other (pull/push secret) items if image is external
Take into account image refs in several locations, not just SourceStrategy
Filter image ref consideration on DockerImage kind
Only modify push/pull secret if the corresponding secret is the default
builder-dockercfg- secret (and is present). For empty secrets,
leave empty, and for custom secrets, leave as-is since those are migrated.
Take into account push/pull secrets in all relevant locations, not just
SourceStrategy and Output.
Apply all of the above to BuildConfig as well

@sseago sseago changed the title [WIP] Build plugin external image Build plugin external image Sep 20, 2019
@sseago sseago merged commit cd87f74 into migtools:master Sep 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants