Skip to content

Helm manager with registryAliases in config containing '/' (slash) #29747

Answered by meyfa
meyfa asked this question in Request Help
Discussion options

You must be logged in to vote

We were able to solve it by configuring registryAliases under the top-level gitlabci manager object, such that no other manager attempts to use them:

gitlabci: {
    registryAliases: {
        '$HARBOR_HOST/$HARBOR_PROJECT': 'registry.example.com/proxy',
        '$HARBOR_HOST/tools': 'registry.example.com/tools'
    }
},

I think this issue still needs a fix because:

  • Coming up with this solution is non-trivial
  • The existence of top-level manager objects is not well-documented

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by rarkins
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant