Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to push to sub-folder in Helm repo? #27

Open
alan-czajkowski opened this issue Oct 3, 2022 · 3 comments
Open

How to push to sub-folder in Helm repo? #27

alan-czajkowski opened this issue Oct 3, 2022 · 3 comments

Comments

@alan-czajkowski
Copy link

What are you trying to do?

  • push to sub-folder in Helm repo
@XDavidT
Copy link

XDavidT commented May 2, 2023

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 /

@alan-czajkowski
Copy link
Author

alan-czajkowski commented May 2, 2023

@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

@XDavidT
Copy link

XDavidT commented May 8, 2023

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants