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 for DefectDojo 2.42.0 is not installable #11533

Closed
1 of 3 tasks
J12934 opened this issue Jan 9, 2025 · 3 comments
Closed
1 of 3 tasks

Helm Chart for DefectDojo 2.42.0 is not installable #11533

J12934 opened this issue Jan 9, 2025 · 3 comments
Labels

Comments

@J12934
Copy link
Contributor

J12934 commented Jan 9, 2025

Bug description

Helm charts index.yaml for release 2.42.0 is linking to a non existing .tgz file which makes it uninstallable.
The release doesn't have that .tgz file but a .tar file.

7826294#diff-08c65c1b5ef8384ef0200558777c52f4110afcbbacc880ac5375d555ca97ee3eR30

Previous releases acutally had the helm chart as a .tgz file. Not sure why the 2.42.0 release now got a .tar archive for the helm chart.

Steps to reproduce

Using helm template instead of helm install to make this reproducable without a k8s cluster.

helm repo add defectdojo 'https://raw.githubusercontent.com/DefectDojo/django-DefectDojo/helm-charts'
helm template defectdojo/defectdojo --version 1.6.167

Output:

Error: failed to fetch https://github.com/DefectDojo/django-DefectDojo/releases/download/2.42.0/defectdojo-1.6.167.tgz : 404 Not Found

Expected behavior

A clear and concise description of what you expected to happen.

Deployment method (select with an X)

  • Docker Compose
  • Kubernetes
  • GoDojo
@kiblik
Copy link
Contributor

kiblik commented Jan 9, 2025

Release GHA uploaded HELM chart as .tar instead of .tgz for some reason.

@Maffooch
Copy link
Contributor

Maffooch commented Jan 9, 2025

Hi @J12934 thank you for pointing this out. There was an issue with the third party we use to release the helm chart, and I had to build this one by hand. I think when I downloaded from GitHub from a separate draft, and reuploaded to the correct release, I lost compression along the way

I have added defectdojo-1.6.167.tgz to the release artifact. Please let me know if this works!

@Maffooch
Copy link
Contributor

Maffooch commented Jan 9, 2025

Actually just confirmed that it was working now. I missed the steps to reproduce section 😅

~/Downloads $: helm repo add defectdojo 'https://raw.githubusercontent.com/DefectDojo/django-DefectDojo/helm-charts'

"defectdojo" already exists with the same configuration, skipping
~/Downloads $: helm template defectdojo/defectdojo --version 1.6.167 | grep 2.42.0
        image: 'defectdojo/defectdojo-django:2.42.0'
        image: "defectdojo/defectdojo-django:2.42.0"
        image: 'defectdojo/defectdojo-django:2.42.0'
        image: "defectdojo/defectdojo-django:2.42.0"
        image: 'defectdojo/defectdojo-django:2.42.0'
        image: 'defectdojo/defectdojo-django:2.42.0'
        image: 'defectdojo/defectdojo-nginx:2.42.0'
        image: 'defectdojo/defectdojo-django:2.42.0'
        image: "defectdojo/defectdojo-django:2.42.0"
      image: 'defectdojo/defectdojo-django:2.42.0'
~/Downloads $: 

@Maffooch Maffooch closed this as completed Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants