Is there an option when running pants package :: to ignore certificate errors from helm?
Tried to pass the —insecure-skip-tls-verify flag to —helm-extra-env-vars without and success
@broad-processor-92400 the problem is that helm possible args are close list, and its not part of the args that I can pass
b
broad-processor-92400
03/06/2025, 8:27 AM
Oh, I see.
You’ll either need to find an environment variable that’s equivalent to that CLI flag (rather than pretend the CLI flag itself is an environment variable), make a change to pants itself (pull requests accepted!), or find some other route to solving your problem.
m
many-sunset-44245
03/06/2025, 8:58 AM
@broad-processor-92400 so I tried to use the —ca-file flag and it didn’t work. I ran the command on debug and saw in argv that the flag isn’t passed to the helm pull command.
When I got into the sandbox and ran the helm command myself with the —ca-file flag inside it works.
The command I run is: ‘pants package —helm-args=“—kube-ca-file /path-to-crt” ::