Skip to content

Fix missing tolerations keyword#862

Merged
wozniakjan merged 2 commits into
kedacore:mainfrom
miqm:fix/missing-tolerations
Jun 2, 2026
Merged

Fix missing tolerations keyword#862
wozniakjan merged 2 commits into
kedacore:mainfrom
miqm:fix/missing-tolerations

Conversation

@miqm

@miqm miqm commented Jun 2, 2026

Copy link
Copy Markdown
Contributor

Provide a description of what has been changed

Checklist

  • I have verified that my change is according to the deprecations & breaking changes policy
  • Commits are signed with Developer Certificate of Origin (DCO - learn more)
  • README is updated with new configuration values (if applicable) learn more
  • A PR is opened to update KEDA core (repo) (if applicable, ie. when deployment manifests are modified)

Fixes #861

@miqm miqm requested review from a team as code owners June 2, 2026 06:45
@miqm miqm changed the title Fix missing toleration keyword Fix missing tolerations keyword Jun 2, 2026
Signed-off-by: Mikolaj Mackowiak <7921224+miqm@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR addresses Helm chart rendering failures when global .Values.tolerations is set but component-specific tolerations are not, by ensuring the tolerations: key is emitted in the fallback path (Fixes #861).

Changes:

  • Add missing tolerations: key when falling back to global .Values.tolerations in webhooks deployment template.
  • Add missing tolerations: key when falling back to global .Values.tolerations in metrics-server deployment template.
  • Add missing tolerations: key when falling back to global .Values.tolerations in manager/operator deployment template.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
keda/templates/webhooks/deployment.yaml Ensures tolerations: is rendered for global tolerations fallback.
keda/templates/metrics-server/deployment.yaml Ensures tolerations: is rendered for global tolerations fallback.
keda/templates/manager/deployment.yaml Ensures tolerations: is rendered for global tolerations fallback (but still needs indentation fix).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread keda/templates/manager/deployment.yaml
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Jan Wozniak <wozniak.jan@gmail.com>
@wozniakjan wozniakjan enabled auto-merge (squash) June 2, 2026 08:37
@wozniakjan wozniakjan merged commit 102f5f2 into kedacore:main Jun 2, 2026
26 of 27 checks passed
@miqm miqm deleted the fix/missing-tolerations branch June 2, 2026 08:54
kedifybot added a commit to kedify/charts that referenced this pull request Jun 2, 2026
Backport of kedacore#862 into the published v2.20.0-1 chart so the
global .Values.tolerations fallback renders the tolerations: key in the
operator, metrics-server and webhooks deployments. Chart version unchanged
(v2.20.0-1); tarball intentionally diverges from the matching git tag.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
wozniakjan added a commit to kedify/charts that referenced this pull request Jun 2, 2026
Fix missing tolerations keyword (kedacore#862)

* Fix missing tolerations keyword



* Potential fix for pull request finding




---------





(cherry picked from commit 102f5f2)

Signed-off-by: Mikolaj Mackowiak <7921224+miqm@users.noreply.github.com>
Signed-off-by: Jan Wozniak <wozniak.jan@gmail.com>
Co-authored-by: Mikolaj Mackowiak <7921224+miqm@users.noreply.github.com>
Co-authored-by: Jan Wozniak <wozniak.jan@gmail.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@wozniakjan wozniakjan mentioned this pull request Jun 3, 2026
10 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Use of .Values.tolerations broken in chart version 2.20.0

3 participants