uffizzi
uffizzi copied to clipboard
Uffizzi Platform Container Registry private images deploy
We need to implement the same logic as in https://github.com/UffizziCloud/uffizzi_app/issues/40
Description from https://github.com/UffizziCloud/uffizzi_app/issues/40
When the controller creates a new deployment the credential for a private registry hasn't been created yet. The pulling starts only after the second try. But the deployment in the rails app gets failed immediately after Error: ImagePullBackOff.
We need to re-run a deploy of containers when the app gets the ImagePullBackOff error and consider the retry count (because credentials can be invalid)
uffizzi-compose-webhook-docker-private-repo.yml
can be used to test pulling of a private image.
MR - https://gitlab.com/dualbootpartners/idyl/uffizzi_app/-/merge_requests/1059/diffs
tested - ok
verified in production