Comments (2)
Thanks for the report, and sorry for the late answer!
Thank you for submitting the PR, but I'd rather not change file properties to strings to make Gradle happy. Files are what RegularFileProperty
is for, after all.
The issue seems to be that the task properties on HelmAddRepository
(caFile
, certFile
and keyFile
) were annotated with @Input
instead of @InputFile
. When changing the annotation to @InputFile
, it works as expected.
from gradle-helm-plugin.
@tkrullmann FYI I don't believe that fixed worked as intended as I still run into the issue using 1.2.1
import org.unbrokendome.gradle.plugins.helm.dsl.credentials.CertificateCredentials
helm {
repositories {
example {
url 'http://helm-repo.example.com/'
credentials(CertificateCredentials) {
certificateFile = file('path/to/cert.pem')
keyFile = file('path/to/key.pem')
}
}
}
}
Still fails with 'Unable to store input properties for task ':helmAdd<REPO>Repository'. Property 'keyFile' with value '/home/.../privateKey.pem' cannot be serialized' due to the same class cast exception.
from gradle-helm-plugin.
Related Issues (20)
- 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
- Setting repository credentials with -P not working HOT 1
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.