-
Notifications
You must be signed in to change notification settings - Fork 55
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
helmInstall: Cannot set the value of read-only property 'releaseName' #85
Comments
Strange, In the meantime, you could try method syntax:
or calling
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. |
I had no idea you could just quote hyphenated values in the DSL, this works:
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. |
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 |
fixed in 1.2.3 and 1.3.0 |
My release name has a hyphen in it so I tried to override it in the DSL:
This results in the above error about the name being read only. Can I set the release name without having to define a whole new task deriving from HelmInstall? I would like to use the tasks that the plugin kindly generates for me.
The text was updated successfully, but these errors were encountered: