Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
eXist-FraGGer opened this issue Oct 9, 2024 · 1 comment · May be fixed by #3282
Open

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

eXist-FraGGer opened this issue Oct 9, 2024 · 1 comment · May be fixed by #3282
Labels
area/helm kind/enhancement Improvements or new features

Comments

@eXist-FraGGer
Copy link

eXist-FraGGer commented Oct 9, 2024

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 eXist-FraGGer added kind/enhancement Improvements or new features needs-triage Needs attention from the triage team labels Oct 9, 2024
@rquitales
Copy link
Member

Thanks for reporting this issue and a suggested API change. We currently hardcode plainHTTP to be false (ref), so we'll need to expose this as a setting. We'll add this to our backlog to work on.

@rquitales rquitales added area/helm and removed needs-triage Needs attention from the triage team labels Oct 10, 2024
@blampe blampe linked a pull request Oct 23, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/helm kind/enhancement Improvements or new features
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants