Description of problem:
After upgrading to OCP 4.16, the push secret has to be explicitly defined in the buildconfig yaml for it to succeed. The associated push secret with the builder Service Account is not selected automatically.
Workaround
Prerequisites (if any, like setup, operators/versions):
Steps to Reproduce
- Create a buildconfig, and link the push secret to builder SA
- Do not specify the push secret explicitly in buildconfig yaml
- The build fails to push the image with, with failure to connect to the registry
Actual results:
The secret associated with builder SA is not selected and has to be specified explicitly in buildconfig yaml for builds to succeed.
Expected results:
The correct push secret associated with builder SA should be selected automatically.{}
Reproducibility (Always/Intermittent/Only Once):
Always in OCP 4.16
Acceptance criteria:
Definition of Done:
Build Details:
Additional info (Such as Logs, Screenshots, etc):