Skip to content

Conversation

@Vishalup29
Copy link
Contributor

@Vishalup29 Vishalup29 commented Nov 30, 2025

Summary

The Helm chart templates already allow arbitrary PodDisruptionBudget configuration via:

{{ toYaml .Values..podDisruptionBudget.config | nindent 2 }}

This means users should be able to set any valid PDB fields, including newer ones such as unhealthyPodEvictionPolicy.

However, the values.schema.json file currently restricts these config blocks with:

"additionalProperties": false

This causes Helm validation to fail when users provide valid PDB fields not explicitly listed in the schema.

What this PR changes

This PR updates the schema for all components’ PodDisruptionBudget sections:

podDisruptionBudget.additionalProperties

podDisruptionBudget.config.additionalProperties

These are now set to true, allowing arbitrary valid fields to be passed through exactly as the template already supports.

Why this is needed

Without this change, using any non-standard (but fully valid) PDB field results in:

values don't meet the specifications of the schema(s):
.podDisruptionBudget.config: Additional property is not allowed

This prevents users from adopting newer Kubernetes PDB fields and contradicts the behavior of the chart templates.

Scope of the change

✔ Only values.schema.json is updated.
✔ No changes to templates or chart behavior.
✔ No functional changes — the schema now reflects the existing intended behavior.

Issue

Fixes: #58650

Update values.schema.json to permit arbitrary PDB fields as supported by the chart templates.
@potiuk potiuk merged commit 302bda1 into apache:main Nov 30, 2025
86 checks passed
@boring-cyborg
Copy link

boring-cyborg bot commented Nov 30, 2025

Awesome work, congrats on your first merged pull request! You are invited to check our Issue Tracker for additional contributions.

RoyLee1224 pushed a commit to RoyLee1224/airflow that referenced this pull request Dec 3, 2025
…ache#58864)

Update values.schema.json to permit arbitrary PDB fields as supported by the chart templates.

Co-authored-by: vishalup29 <vishalupadhyay977@gmail.com>
Copilot AI pushed a commit to jason810496/airflow that referenced this pull request Dec 5, 2025
…ache#58864)

Update values.schema.json to permit arbitrary PDB fields as supported by the chart templates.

Co-authored-by: vishalup29 <vishalupadhyay977@gmail.com>
itayweb pushed a commit to itayweb/airflow that referenced this pull request Dec 6, 2025
…ache#58864)

Update values.schema.json to permit arbitrary PDB fields as supported by the chart templates.

Co-authored-by: vishalup29 <vishalupadhyay977@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:helm-chart Airflow Helm Chart

Projects

None yet

Development

Successfully merging this pull request may close these issues.

podDisruptionBudget.config does not allow additional properties

2 participants