-
Notifications
You must be signed in to change notification settings - Fork 273
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
Unable to target local helm chart with chartPath in a helm module #1550
Comments
It might be that Garden is not finding the chart because it's using the default It basically defaults to The issue here is that we should always make sure that the E.g.: kind: Module
description: foo-helm description
type: helm
name: foo-helm
include: ["foo/**/*"]
chartPath: ./foo |
This one works (using default include values) 👍 File structure
with this garden.yml content: kind: Module
description: foo-helm description
type: helm
name: foo-helm
chartPath: ./charts/foo But this configuration not 👎 File structure
with this garden.yml content: kind: Module
description: foo-helm description
type: helm
name: foo-helm
include: ["foo"]
chartPath: ./foo |
Yeah my bad. The original example I posted was wrong. It's suppose to be I though I had gotten away with it because I updated it a couple of minutes later. |
Perfect thx, it works using globs Reading this doc, # Specify a list of POSIX-style paths or globs that should be regarded as the source files for this
# module. Files that do *not* match these paths or globs are excluded when computing the version of the module,
# when responding to filesystem watch events, and when staging builds. I made the assumption that i can use POSIX-style path to target folder and its content. Thanks, for your help |
Bug
Current Behavior
I want to use chartPath for helm local charts, but it fails when i run
garden run module foo-helm
Expected behavior
Be able to target a subfolder when working with local helm charts
Reproducible example
Folder structure:
garden.yml content
chart.yaml content:
Workaround
Move garden.yml in chart folder
Suggested solution(s)
Additional context
Your environment
garden version
: 0.11.1kubectl version
docker version
The text was updated successfully, but these errors were encountered: