-
Notifications
You must be signed in to change notification settings - Fork 373
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 extension can't add helm chart repository #4658
Comments
Hello, the detective agency "Mandelbug" is here! This is an interesting case, where everyone is a murderer. Let's restore the sequence of events:
Obviously, a redirect with a pinned Server Name won't work properly, and our poor k0s helm deployer As usual, casualties could have been avoided, but the fix has been open for 3 years and has never been merged. We'll think about how we can fix the issue on the k0s side and will try to push the helm upstream to merge the fix on their side. As a workaround, you can use |
This is triggered by Reproducer using the Helm CLI: $ helm repo add bitnami https://charts.bitnami.com/bitnami --force-update --insecure-skip-tls-verify
Error: looks like "https://charts.bitnami.com/bitnami" is not a valid chart repository or cannot be reached: Get "https://repo.broadcom.com/bitnami-files/index.yaml": remote error: tls: handshake failure The upstream Helm issue: and the Pull Request addressing this: |
When #4660 gets released, you should be able to use the following to circumvent the problem: apiVersion: k0s.k0sproject.io/v1beta1
kind: ClusterConfig
metadata:
name: k0s
spec:
# [...]
extensions:
helm:
repositories:
- name: bitnami
url: https://charts.bitnami.com/bitnami
insecure: false
# [...] |
The issue is marked as stale since no activity has been recorded in 30 days |
Before creating an issue, make sure you've checked the following:
Platform
Version
v1.30.1+k0s.0 and v1.29.2
Sysinfo
`k0s sysinfo`
What happened?
Tried to create single cluster it was created, but helm chart not installed, looks like can't add helm repo
sudo k0s install controller --single -c k0s.yaml && sudo k0s start
config k0s.yaml look like this
$ sudo k0s status
if install helm and add repo manual, it is working well
$ helm repo add bitnami https://charts.bitnami.com/bitnami "bitnami" has been added to your repositories $ helm repo list NAME URL bitnami https://charts.bitnami.com/bitnami
Steps to reproduce
sudo k0s install controller --single -c k0s.yaml && sudo k0s star
sudo k0s config status
Expected behavior
No response
Actual behavior
Check config status:
Screenshots and logs
No response
Additional context
On last Monday 2024.06.10 it was working well
The text was updated successfully, but these errors were encountered: