How to configure a proxy to pull helm charts with Kustomize and config-sync?

247 views
Skip to first unread message

Laurent Philippart

unread,
Aug 30, 2022, 10:53:53 AM8/30/22
to kpt-users
Hi,

How do we configure the reposync "reconciler" to use a proxy to pull a helm chart?
Do we basically have to edit the reconciler-manager configmap (deployment yaml) and provide an env variable or an argument?

Second question: what is the easiest way to disable the otel-agent (besides scaling down the otel-collector) ?

Thank you in advance.
Laurent

Tiffany Pei

unread,
Aug 31, 2022, 4:07:27 PM8/31/22
to kpt-users
Hi,


To disable the otel-agent (or to pause the metric exporting if I understood you correctly), you can follow this guide to tweak or remove the pipelines. Out of my curiosity - could you share the intention? Thanks!

Laurent Philippart

unread,
Sep 1, 2022, 4:27:54 AM9/1/22
to kpt-users
Thank you!

I am working with Nokia and experimenting with the nephio tool chain (kpt, porch & config-sync) on a local cluster (not GKE) and therefore access to the internet goes through our corporate proxy.
I've been able to reproduce some of the ACM samples like the quickstart mono & multirepo but when trying the kustomize+helm with cert-manager I am getting an error because the hydration-controller doesn't have the proper proxy environment variables. See https://github.com/GoogleContainerTools/kpt-config-sync/issues/74 for details. The guide https://cloud.google.com/anthos-config-management/docs/tutorials/config-sync-helm covers configuring the git proxy but not for helm.

I'll check the guide for the otel custom collector - this will help reduce the load on my dev cluster.

If you could tell me how to patch the reconciler-manager configmap that would solve my first problem above.

Thanks.

Nan Yu

unread,
Sep 1, 2022, 3:01:59 PM9/1/22
to kpt-users
Hi Laurent,

Thanks for reaching out. Unfortunately, Config Sync doesn't support pulling Helm charts through proxy yet.
Config Sync added a first-party Helm spec in the RootSync/RepoSync API recently. The plan is to add the proxy support through the new Helm spec in the next release.

We will keep you posted once the feature is implemented.

Laurent Philippart

unread,
Sep 14, 2022, 9:42:12 AM9/14/22
to Nan Yu, kpt-users
Thanks. Looking forward to this enhancement.

--
You received this message because you are subscribed to a topic in the Google Groups "kpt-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/kpt-users/3CG0sOx6vPc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to kpt-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kpt-users/990cfd10-646a-4829-9c93-565a68708fb3n%40googlegroups.com.

nagendra buddhala

unread,
Jun 14, 2023, 6:36:02 PM6/14/23
to kpt-users

Any update on the config sync supporting helm charts pull via proxy ?
Reply all
Reply to author
Forward
0 new messages