Skip to content

Commit

Permalink
test: Specify node-selectors in BGP configmap
Browse files Browse the repository at this point in the history
We recently had a regression
(#16340) that occurred when the
user specified node-selectors in their BGP configmap. The node-selectors
were not picked up due to the bug that was fixed in
#16341.

This commit is to add regression testing for the BGP integration.

Signed-off-by: Chris Tarazi <chris@isovalent.com>
  • Loading branch information
christarazi authored and aditighag committed Jun 10, 2021
1 parent d78968e commit 8ba6c28
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/k8sT/manifests/bgp-configmap.yaml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ data:
- peer-address: {{ .RouterIP }}
peer-asn: 64512
my-asn: 64512
node-selectors:
- match-expressions:
- key: cilium.io/ci-node
operator: Exists
address-pools:
- name: default
protocol: bgp
Expand Down

0 comments on commit 8ba6c28

Please sign in to comment.