texano00 / urunner

URunner is a lightweight Kubernetes utility in order to auto restart pods on image tag digest change. This is very useful on environments where it is commonly used the latest tag which frequently changes over time. Urunner auto detects the container image tag digest (for example the digest of tag latest) and automatically restart pods.
36 stars 6 forks source link

GitLab container registry support #10

Closed spijet closed 9 months ago

spijet commented 10 months ago

Hello @texano00!

I'm trying to use urunner to auto-restart a pod that uses an image hosted in GitLab Container registry, and it seems that the harbor/DockerV2 API doesn't work for those — I get "ERROR:root:Error status code: 401" in urunner logs. Can you please look into implementing support for GitLab registries as well?

github-actions[bot] commented 10 months ago

Thanks for your first issue on Urunner!

texano00 commented 10 months ago

Hi @spijet ! GitLab repo will be supported soon..

I'd say by the end of January.

spijet commented 10 months ago

Thank you! ❤️

spijet commented 9 months ago

Wow, that was quick! :D Thank you for your time. Will it be possible to use this new feature for self-hosted GitLab instances as well?

texano00 commented 9 months ago

@spijet well, I mainly tested only for gitlab.com cloud registries but please try and let me know! The docker APIs under the hood may probably be the same..