Comments (4)
Strange, releaseName
is a Property<String>
so the set accessor for Groovy DSL should be generated by Gradle. I'll investigate!
In the meantime, you could try method syntax:
releaseName "my-release"
or calling .set()
on the property explicitly:
releaseName.set "my-release"
It should also be ok to use the hyphenated name for your DSL object (just use quotes), the plugin will automatically convert it to camel case when generating task names.
from gradle-helm-plugin.
I had no idea you could just quote hyphenated values in the DSL, this works:
helm {
releases {
"my-release" {
from charts.myRelease
}
}
}
I guess I learned something new today! I'm good now, thanks very much for your help and for providing this plugin - easily the best gradle helm plugin there is.
from gradle-helm-plugin.
Thanks! Glad to hear the workaround works for you.
I'll leave this open as it's indeed a bug. I did some clever stuff with multiple interface inheritance and Kotlin delegates, which ended up hiding the Gradle-generated members on HelmRelease
. This shouldn't be necessary when moving to Gradle-managed types, but I have to check Gradle version compatibility (wouldn't want to require a higher Gradle version for a bugfix just yet).
from gradle-helm-plugin.
fixed in 1.2.3 and 1.3.0
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.