Is there an option when running pants package :: t...
# general
m
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
b
Can you try with https://www.pantsbuild.org/stable/reference/subsystems/helm#args instead? The syntax of that flag makes it look like a CLI argument rather than an environment variable.
m
@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
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
@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” ::