helm-nexus-push icon indicating copy to clipboard operation
helm-nexus-push copied to clipboard

How to push to sub-folder in Helm repo?

Open alan-czajkowski opened this issue 3 years ago • 3 comments

What are you trying to do?

  • push to sub-folder in Helm repo

alan-czajkowski avatar Oct 03 '22 23:10 alan-czajkowski

Why did you do that? helm chart is an independent package, and no need to have something inside. You can make a root folder, let's say "monitoring" and push under this one just add /

XDavidT avatar May 02 '23 08:05 XDavidT

@XDavidT I have 2 teams, both want to name their application the same name "my-awesome-ui"

Team A has 2 applications:

  • my-awesome-backend-api
  • my-awesome-ui

Team B has 2 applications:

  • team-b-awesome-backend-api
  • my-awesome-ui

when I publish the Helm chart for my-awesome-ui for Team A, and then for Team B, the chart will get clobbered

I need some kind of mechanism inside of the Helm repo to "scope" the packages, using a sub-folder in the repo

how do I do this? show me the Helm CLI command that will allow scoping in the repo, example:

  • team-a/my-awesome-ui
  • team-b/my-awesome-ui

alan-czajkowski avatar May 02 '23 18:05 alan-czajkowski

@XDavidT I have 2 teams, both want to name their application the same name "my-awesome-ui"

Team A has 2 applications:

  • my-awesome-backend-api
  • my-awesome-ui

Team B has 2 applications:

  • team-b-awesome-backend-api
  • my-awesome-ui

when I publish the Helm chart for my-awesome-ui for Team A, and then for Team B, the chart will get clobbered

I need some kind of mechanism inside of the Helm repo to "scope" the packages, using a sub-folder in the repo

how do I do this? show me the Helm CLI command that will allow scoping in the repo, example:

  • team-a/my-awesome-ui
  • team-b/my-awesome-ui

As simple as you wrote it:

helm nexus-push myrepo team-a/my-awesome-ui
helm nexus-push myrepo team-b/my-awesome-ui

XDavidT avatar May 08 '23 06:05 XDavidT