Quantcast
Channel: How to manage multiple GitLab container registries from a single repository?
Viewing all articles
Browse latest Browse all 3

How to manage multiple GitLab container registries from a single repository?

$
0
0

The problem has been solved after trying to answer the following questions:

  1. Could it be URL address resolving the issue?

I don’t think so, because as mentioned in point 3 of the troubleshooting section. I have removed the custom part of the registry path and now it works properly. Using the same naming convention of GitLab documentation:

  • Failure: registry.example.com/mynamespace/myproject/image:latest
  • Works: registry.example.com/mynamespace/myproject:some-tag
  1. Could it be an authentication problem?

I can manually download the docker image from the cluster.

image

  1. Could the failed deployment manifest be copied and applied to another namespace to check that is not a problem with cluster configuration?

As I am in the troubleshooting phase the way to test is via ArgoCD from the VM where I have the GitOps Controller:

argocd app create staging --repo https://gitlab.xxx/xxx.git --path charts/db --dest-server https://X.X.X.X:16443 --dest-namespace <name> --sync-policy automatic --auto-prune --self-heal

After creating a new namespace in the same cluster the authentication works properly.

Read full topic


Viewing all articles
Browse latest Browse all 3

Latest Images

Trending Articles





Latest Images