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

Reordering ImageStreams before BuildConfigs #42

Merged
merged 1 commit into from
Nov 13, 2017

Conversation

sabre1041
Copy link
Contributor

Reordering ImageStreams before BuildConfig objects to avoid issues authenticating to Docker registry during image push.

It is important that ImageStreams be placed before BuildConfigs in order to properly attach the docker credentials to the destination registry. Otherwise a race condition will occur due to ImageStream resolution. If a build begins before resolving the destination, OpenShift will be unable to attach the proper .dockercfg secret which will result in an authentication error

This is being tracked in the following BZ and discussed in an issue in origin

CC: @sherl0cks @oybed

@oybed
Copy link
Contributor

oybed commented Nov 12, 2017

LGTM - thanks for investigating and fixing

@sherl0cks
Copy link
Contributor

@sabre1041 thanks again for your help here.

@sherl0cks sherl0cks merged commit a4a3921 into rht-labs:master Nov 13, 2017
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.

3 participants