https://pantsbuild.org/ logo
#general
Title
# general
c

curved-manchester-66006

01/25/2023, 9:42 PM
I'm trying to depend on helm artifact in a private (username/password) registry. I haven't been able to figure out how to do this from the docs, but I see there is support for publishing https://www.pantsbuild.org/docs/helm-overview#configuring-oci-registries helm artifacts. I presume helm registries require authentication to write to, so I'm not sure what helm authentication config I'm missing.
(the helm backend use an isoldated config in the sandbox and not does not use the repositories defined in $HOME)
f

famous-car-78664

03/08/2024, 1:31 PM
Hi @curved-manchester-66006!! I have the same issue today. Have you been able to find a solution ?
c

curved-manchester-66006

03/08/2024, 2:52 PM
I have not.
f

famous-car-78664

03/08/2024, 3:04 PM
Huh, not a good new for me...
Are you still looking for a solution btw ?
c

curved-manchester-66006

03/08/2024, 3:53 PM
No, all my helm charts are going to be in the same repository so I won't need to auth in this way.
f

famous-car-78664

03/08/2024, 3:59 PM
I see. So you are using a public repository for all your charts ?
I'm dealing with Gitlab's private helm repository and I haven't been able to push or pull anything onto it using pants. It works perfectly using helm directly tho.
c

curved-manchester-66006

03/08/2024, 4:13 PM
At the moment all my charts are either public or contained in the same monorepo
f

famous-car-78664

03/08/2024, 4:14 PM
So you deploy them referencing the files in the repo instead of using something like
helm_artifact
referencing your remote chart ? Am I right ?
Sorry if I ask a lot, just trying to make sure someone didn't find a workaround I didn't think about already.
c

curved-manchester-66006

03/08/2024, 4:16 PM
Something like that (it's also kind of influx as we have a gitops set that uses both helm and kustomzie in an idiosyncratic way)
f

famous-car-78664

03/08/2024, 4:17 PM
Ok, thanks ! I guess my quest continues then....