-
Notifications
You must be signed in to change notification settings - Fork 566
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
Helmfile should pass --args to "helm repo add" #1898
Comments
@almed4 Hey! Helmfile doesn't have a map of which helm command supports which args so it currently passes it to a "primary" helm command that corresponds to the helmfile command you're running. For That said, adding Would you mind submitting a PR for that? |
Yes, I would love to! Thanks so much for your quick response. Please bare with me since I am not familiar with Go, but I'm super excited to contribute. This is my first open-source contribution lol. Will open PR with personal account @ameddin73 |
This adds the ability to include the --pass-credentials flag to the helm add repo command by: - Adding repo.passCredentials to the helmfile yaml - Changing state, helmexec, and app to include RepositorySpec.PassCredentials Resolves roboll#1898
@mumoshu please review |
Let me note that I learned this flag was added I learned pass-credentials has been added in helm 3.6.1 https://github.com/helm/helm/releases/tag/v3.6.1 |
This adds the ability to include the --pass-credentials flag to the helm add repo command by: - Adding repo.passCredentials to the helmfile yaml - Changing state, helmexec, and app to include RepositorySpec.PassCredentials Resolves #1898 Co-authored-by: almed4 <alexandre.meddin@ingka.ikea.com>
Summary
When adding a repo, default args are not passed to the command
helm repo add
.Expected Behavior
With
helmfile.yaml
configured with the following:helm repo add
should be called with--pass-credentials
Expected
Actual Behavior
With
helmfile.yaml
configured with the following:helm repo add
is called without--pass-credentials
Actual
Feature Request/Bug
helmfile should pass default helm arguments to
helm repo add
or allow arguments to be included in arepositories
object.The text was updated successfully, but these errors were encountered: