pulumi-kubernetes icon indicating copy to clipboard operation
pulumi-kubernetes copied to clipboard

helm.Chart Insecure HTTP (--plain-http)

Open eXist-FraGGer opened this issue 4 months ago • 1 comments

Hello!

  • Vote on this issue by adding a 👍 reaction
  • If you want to implement this feature, comment to let us know (we'll work with you on design, scheduling, etc.)

Issue details

If we have insecure registry (e.g. harbor installed in minikube) - we can not install helm chart "oci://" because it is using https://

The error will be Error: Get "https://.../v2/.../tags/list": http: server gave HTTP response to HTTPS client

There is an option in helm --plain-http https://helm.sh/docs/helm/helm_install/

Please do implement

Affected area/feature

The usage can be:

new k8s.helm.v4.Chart(
  'app',
  {
    name: 'app',
    namespace: 'app',
    chart: 'oci://oci.registry/helm-charts/app',
    plainHttp: true, // <--- here
  },
  { dependsOn: [appNamespace] }
);

eXist-FraGGer avatar Oct 09 '24 08:10 eXist-FraGGer