Files
Parsa Gheiratian a296c6a239 fix(metallb): wire metallb_controller_tolerations into controller Dep… (#13384)
* fix(metallb): wire metallb_controller_tolerations into controller Deployment

The metallb_controller_tolerations default was introduced in #7334 along
with template wiring, but the wiring was lost in #9120 when the manifest
was regenerated for the CRD switch. Since then the variable has been
defined in roles/kubernetes-apps/metallb/defaults/main.yml but silently
ignored: only metallb_config.controller.tolerations reached the
controller Deployment, while the speaker DaemonSet still honors both
metallb_speaker_tolerations and its metallb_config override.

Merge the role default with the optional metallb_config override, and
only emit the tolerations key when the merged list is non-empty, so
current rendering is unchanged for users who set neither variable.

Signed-off-by: vexsx <p.gheiratian1382@yahoo.com>

* Update metallb.yaml.j2

simplify metallb_controller_tolerations merge using default([])

---------

Signed-off-by: vexsx <p.gheiratian1382@yahoo.com>
2026-10-26 15:46:11 +00:00
..
2026-09-25 19:45:58 +02:00