{% for cilium_bgp_advertisement in cilium_bgp_advertisements %}
---
apiVersion: "cilium.io/v2"
kind: CiliumBGPAdvertisement
metadata:
  name: "{{ cilium_bgp_advertisement.name }}"
{% if 'labels' in cilium_bgp_advertisement %}
  labels:
{{ cilium_bgp_advertisement.labels | to_nice_yaml | indent(4, first=True) }}
{% endif %}
spec:
  {{ cilium_bgp_advertisement.spec | to_yaml | indent(4) }}
{% endfor %}
