uffizzi icon indicating copy to clipboard operation
uffizzi copied to clipboard

Uffizzi Platform Container Registry private images deploy

Open 7R41N33 opened this issue 2 years ago • 3 comments

We need to implement the same logic as in https://github.com/UffizziCloud/uffizzi_app/issues/40

7R41N33 avatar Apr 11 '22 13:04 7R41N33

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

moklidia avatar May 30 '22 15:05 moklidia

tested - ok

AnnaPochepina avatar Jun 06 '22 16:06 AnnaPochepina

verified in production

AnnaPochepina avatar Jun 07 '22 13:06 AnnaPochepina