Bug: Image pull secret does not automatically inject the registry credentials into the target namespace if it is used as an override in the build configuration #4179
Labels
bug
Something isn't working
📜 Description
In Devtron UI when we configure image pull secret feature to auto inject the registry credentials in target cluster when we used different container registry in base build configuration and overridden.
Base Build configuration have ECR regsitry.
![sss](https://private-user-images.githubusercontent.com/99399155/279060639-17f528c7-cfe9-4a21-b340-022accd16712.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk3OTE5OTAsIm5iZiI6MTcxOTc5MTY5MCwicGF0aCI6Ii85OTM5OTE1NS8yNzkwNjA2MzktMTdmNTI4YzctY2ZlOS00YTIxLWIzNDAtMDIyYWNjZDE2NzEyLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MzAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjMwVDIzNTQ1MFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWFhY2FmY2M4YmRiMzA4YTg1NTZjMzg0NjM0OTg3NzM2NmYxOWVkNWRhNTgyNTI3ODY3OGI4NTIyMzJjYzQ2ZjgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.gr2QtPnmieyaoCMMdobBdtZ0ZFODYpcithaRwjPsV7w)
Override build configuration
Error and pod manifest do hadn’t imagePullSecret and target environment also.
![sss45](https://private-user-images.githubusercontent.com/99399155/279061316-b6f01bcc-8b92-4089-a652-1689ea1ea677.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk3OTE5OTAsIm5iZiI6MTcxOTc5MTY5MCwicGF0aCI6Ii85OTM5OTE1NS8yNzkwNjEzMTYtYjZmMDFiY2MtOGI5Mi00MDg5LWE2NTItMTY4OWVhMWVhNjc3LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MzAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjMwVDIzNTQ1MFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTQwMWI3NzQ3NzEwMjEwNDYxN2JkNGI3ZDE3ZWMwYzVhOWFhODI0ZGYxZmJiOWYzMDdiZDQyN2NhNjIwYmU5ZjcmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.sJJg8k5NOIychsVYHAYAEwF42aPevCJNs_atWn5jD1A)
👟 Reproduction steps
👍 Expected behavior
It should be auto injected imagePull Secret and pass in rollout manifest.
👎 Actual Behavior
Currently it is not happening as aspecting.
☸ Kubernetes version
1.25
Cloud provider
🌍 Browser
Chrome
🧱 Your Environment
No response
✅ Proposed Solution
No response
👀 Have you spent some time to check if this issue has been raised before?
🏢 Have you read the Code of Conduct?
AB#6499
The text was updated successfully, but these errors were encountered: