metallb: exclude masters from bgp announcing
This commit is contained in:
		@@ -31,6 +31,10 @@ metallb_bgp_definitions:
 | 
			
		||||
      - "{{ metallb_pool_name }}"
 | 
			
		||||
      aggregationLength: {{ metallb_bgp_aggregation_length }}
 | 
			
		||||
      localpref: {{ metallb_bgp_localpref }}
 | 
			
		||||
      nodeSelectors:
 | 
			
		||||
      - matchExpressions:
 | 
			
		||||
        - key: node-role.kubernetes.io/control-plane
 | 
			
		||||
          operator: DoesNotExist
 | 
			
		||||
 | 
			
		||||
  metallb_peer: |
 | 
			
		||||
    apiVersion: metallb.io/v1beta2
 | 
			
		||||
@@ -63,3 +67,7 @@ metallb_l2_definitions:
 | 
			
		||||
    spec:
 | 
			
		||||
      ipAddressPools:
 | 
			
		||||
      - "{{ metallb_pool_name }}"
 | 
			
		||||
      nodeSelectors:
 | 
			
		||||
      - matchExpressions:
 | 
			
		||||
        - key: node-role.kubernetes.io/control-plane
 | 
			
		||||
          operator: DoesNotExist
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user