Skip to content
Snippets Groups Projects
Unverified Commit 6305dd39 authored by Seal1998's avatar Seal1998 Committed by GitHub
Browse files

Metallb --lb-class cmd arg to support multiple LoadBalancer implementations (#10550)

* metallb --lb-class cmd arg to support multiple load balancer implementations

* removed loadbalancer_class from metallb_config; metallb_loadbalancer_class in role defaults
parent b3f6d051
No related branches found
No related tags found
No related merge requests found
......@@ -13,3 +13,4 @@ metallb_speaker_tolerations:
key: node-role.kubernetes.io/control-plane
operator: Exists
metallb_controller_tolerations: []
metallb_loadbalancer_class: ""
\ No newline at end of file
......@@ -1724,6 +1724,9 @@ spec:
- args:
- --port={{ metallb_port }}
- --log-level={{ metallb_log_level }}
{% if metallb_loadbalancer_class != "" %}
- --lb-class={{ metallb_loadbalancer_class }}
{% endif %}
env:
- name: METALLB_ML_SECRET_NAME
value: memberlist
......@@ -1814,6 +1817,9 @@ spec:
- args:
- --port={{ metallb_port }}
- --log-level={{ metallb_log_level }}
{% if metallb_loadbalancer_class != "" %}
- --lb-class={{ metallb_loadbalancer_class }}
{% endif %}
env:
- name: METALLB_NODE_NAME
valueFrom:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment