Skip to content

fix(helm): pdb.minAvailable can be number as well - #17041

Open
kiblik wants to merge 1 commit into
DefectDojo:devfrom
kiblik:fix_helm_minAvailable_type
Open

kiblik wants to merge 1 commit into
DefectDojo:devfrom
kiblik:fix_helm_minAvailable_type

Conversation

@kiblik

@kiblik kiblik commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

Description

Goal: Avoid errors like: PodDisruptionBudget.policy "..." is invalid: spec.minAvailable: Invalid value: "2": a valid percent string must be a numeric string followed by an ending '%' (e.g. '1%', or '93%', regex used for validation is '[0-9]+%')

Documentation

Mentioned in "chart changes"

Checklist

This checklist is for your information.

  • Make sure to rebase your PR against the very latest dev.
  • Submit all PRs, features and bug fixes alike, against the dev branch.
  • Give a meaningful name to your PR, as it may end up being used in the release notes.
  • Your code is Ruff compliant (see ruff.toml).
  • Your code is python 3.13 compliant.
  • If this is a new feature and not a bug fix, you've included the proper documentation in the docs at https://github.com/DefectDojo/django-DefectDojo/tree/dev/docs as part of this PR.
  • Model changes must include the necessary migrations in the dojo/db_migrations folder.
  • Add applicable tests to the unit tests.
  • Add the proper label to categorize your PR.

Extra information

Please clear everything below when submitting your pull request, it's here purely for your information.

Moderators: Labels currently accepted for PRs:

  • Import Scans (for new scanners/importers)
  • enhancement
  • performance
  • feature
  • bugfix
  • maintenance (a.k.a chores)
  • dependencies
  • New Migration (when the PR introduces a DB migration)
  • settings_changes (when the PR introduces changes or new settings in settings.dist.py)

@github-actions github-actions Bot added the helm label Nov 20, 2026
@kiblik
kiblik force-pushed the fix_helm_minAvailable_type branch from b3e6b16 to ae1ffa4 Compare November 20, 2026 16:57
@kiblik kiblik closed this Nov 20, 2026
@kiblik kiblik reopened this Nov 20, 2026
@kiblik
kiblik marked this pull request as ready for review November 24, 2026 09:45
@kiblik
kiblik force-pushed the fix_helm_minAvailable_type branch from ae1ffa4 to 32b7914 Compare November 24, 2026 14:15

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant