Skip to content

Add optional hostUsers field to the KEDA pods#880

Open
somaz94 wants to merge 1 commit into
kedacore:mainfrom
somaz94:feat/hostusers
Open

Add optional hostUsers field to the KEDA pods#880
somaz94 wants to merge 1 commit into
kedacore:mainfrom
somaz94:feat/hostusers

Conversation

@somaz94

@somaz94 somaz94 commented Jun 19, 2026

Copy link
Copy Markdown

Adds an opt-in hostUsers field to the operator, metrics server and admission
webhooks pods so KEDA's components can run in their own user namespace
(graduated in Kubernetes 1.36). Mirrors the existing useHostNetwork toggle.

Unset by default, so existing renders are byte-identical; setting
operator.hostUsers / metricsServer.hostUsers / webhooks.hostUsers to
true or false emits the field on the matching pod only.

Validation (local)

  • helm lint keda: 0 failed
  • helm template: default omits the field (no diff for current users); set to
    false/true renders it on the correct pod(s) only
  • helm install on a kind v1.34 cluster with hostUsers=true: operator, metrics
    server and webhooks pods all Running, field present on the live pod specs
  • apiserver accepts hostUsers=false (deployment + new ReplicaSet created);
    running a pod with false additionally needs the node to support user namespaces

Checklist

  • I have verified that my change is according to the deprecations & breaking changes policy
  • Commits are signed with Developer Certificate of Origin (DCO)
  • README is updated with new configuration values
  • A PR is opened to update KEDA core — not applicable (chart-only opt-in value, default unset = no change to the static core manifests)

Fixes #879

… pods

Signed-off-by: somaz <genius5711@gmail.com>
@somaz94 somaz94 marked this pull request as ready for review June 19, 2026 09:15
@somaz94 somaz94 requested review from a team as code owners June 19, 2026 09:15
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.

Add support for hostUsers to keda helm charts

1 participant