Browse Source

Allow changing metallb default pool name (#8111)

pull/8117/head
Damian Szeluga 3 years ago
committed by GitHub
parent
commit
4db057e9c2
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions
  1. 1
      roles/kubernetes-apps/metallb/defaults/main.yml
  2. 2
      roles/kubernetes-apps/metallb/templates/metallb-config.yml.j2

1
roles/kubernetes-apps/metallb/defaults/main.yml

@ -18,3 +18,4 @@ metallb_speaker_tolerations:
key: node-role.kubernetes.io/control-plane
operator: Exists
metallb_controller_tolerations: []
metallb_pool_name: "loadbalanced"

2
roles/kubernetes-apps/metallb/templates/metallb-config.yml.j2

@ -15,7 +15,7 @@ data:
{% endfor %}
{% endif %}
address-pools:
- name: loadbalanced
- name: {{ metallb_pool_name }}
protocol: {{ metallb_protocol }}
addresses:
{% for ip_range in metallb_ip_range %}

Loading…
Cancel
Save