-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
fix(helm): Unpin old HELM version #11363
Conversation
DryRun Security SummaryThe pull request updates the GitHub Actions workflow for releasing a Helm chart for the DefectDojo application, including Helm setup, repository configuration, Docker image version pinning, Helm chart packaging, GitHub release creation, and Helm repository index file update, without introducing any obvious security concerns. Expand for full summarySummary: The code changes in this pull request are related to the GitHub Actions workflow for releasing a Helm chart for the DefectDojo application. The changes update the Helm setup, configure the Helm repositories, pin the Docker image version, package the Helm chart, create a new GitHub release, and update the Helm repository index file. From an application security perspective, the changes do not introduce any obvious security concerns, as the workflow is focused on the release process and does not directly interact with the application code. However, it's important to consider the security aspects of dependency management, credential management, Helm chart security, and Helm repository security to ensure the overall security of the release process. Files Changed:
The workflow changes do not directly interact with the application code, but it's important to review the security aspects of dependency management, credential management, Helm chart security, and Helm repository security to ensure the overall security of the release process. Code AnalysisWe ran |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved
Is it possible to approve and merge this PR? |
The previous implementation used an old version of
helm
, which was pinned in.github/workflows/release-x-manual-helm-chart.yml
. Renovate and Dependable ignored these values.Version
v3.4.0
did not supportoci
protocol for pulling charts (support was added inv3.5
as an experiment and fromv.3.8
by default; source: https://helm.sh/docs/topics/registries/). The current latest version isv3.16.3
The issue has not been noticed because:
oci
as defaulthelm
This change removes pinning in the "release" step. It uses exactly the same method as the
helm
linterdjango-DefectDojo/.github/workflows/test-helm-chart.yml
Lines 22 to 23 in fc60348
Context: https://owasp.slack.com/archives/C2P5BA8MN/p1733236658398939
Failing step: https://github.com/DefectDojo/django-DefectDojo/actions/runs/12125529029/job/33855921016