Comments (1)
Hi,
I'm not 100% sure what you are trying to do, maybe explain your goal so I can help better.
My guess is that you are trying to construct a custom chart around stable/airflow
with a user-specific values.yaml, and then install that. In that case Many charts from the public repositories allow heavy customization, so I'd try to avoid creating a chart at all, and just use the chart from the repo and use the releases
feature to pass the user-defined values.
helm {
// configure namespace and downloadClient like in your script
repositories {
google { // or give it any name you like
url 'https://kubernetes-charts.storage.googleapis.com/'
}
}
releases {
from 'google/airflow'
version = '6.10.4'
// put your customization values for the release here
values = [key: 'value']
valueFiles.from 'my-values.yaml'
}
}
Some additional pointers that might help:
- Anything that you put in the
charts.myChart
block will only contribute to the chart (i.e. not beyond thehelm package
step). The values.yaml from the chart are just the defaults that will be packaged with the chart. - You are probably not using
filtering
the way it's intended. It's a build-time replacement of values in the chart, intended for things like version and project name that you don't want to repeat in the chart. It shouldn't be used for environment or user-specific values. Also, filtering is a feature specific to this plugin, Helm itself doesn't know about it and it won't be involved after the chart is packaged. - Values YAML files that should be passed to
helm install
for configuring a release should be added to the release, not the chart. - If your release name is dynamic, I would recommend using a fixed name in the DSL anyway, and set the
releaseName
property on the release. The DSL name is what you use to refer to it in the Gradle script, and what is used for constructing task names. The release name is what is passed tohelm install
. (It just happens to default to the DSL name for convenience.) - You can always check the actual Helm CLI invocation arguments by running Gradle with
--info
.
from gradle-helm-plugin.
Related Issues (20)
- Add support for linting charts with their sub-charts
- helmUpdate*Dependecies fails with "Error: no cached repository for helm-manager" HOT 2
- Automatic client download conflicts with dependencyResolutionManagement repositories
- --info leaks passwords in build log (helm repo credentials)
- helmPackageMainChart fails in multi-project build with error "Cannot add task 'helmDownloadClient_xxx' as a task with that name already exists" HOT 3
- OCI support HOT 1
- Allow specifying `--create-namespace` on a helm install command HOT 3
- helmUninstall doesn't work if release in `pending-install` state
- `createNamespace = true` creates a namespace. How do I delete one?
- API/DSL link is broken HOT 2
- [Question] Is Helm repo config `pass_credentials_all` supported?
- Plugin does not work on Linux aarch64
- A possibility to configure 'channel' at Gitlab Helm Repositories HOT 1
- Is this plugin still maintained ? HOT 1
- Support Gradle 8 HOT 15
- Add support for channels in gitlab publisher HOT 1
- Does not resolve external chart dependencies from Chart.yaml only from requirements.yaml HOT 1
- Add support for --skip-crds flag HOT 1
- Support Gradle 8 HOT 3
- Maintenance plans for gradle-helm-plugin HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gradle-helm-plugin.