mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-04-09 20:19:24 -02:30
Fix undefined variable error for CiliumBGPAdvertisement labels (#13149)
This commit is contained in:
@@ -4,8 +4,9 @@ apiVersion: "cilium.io/v2"
|
||||
kind: CiliumBGPAdvertisement
|
||||
metadata:
|
||||
name: "{{ cilium_bgp_advertisement.name }}"
|
||||
{% if cilium_bgp_advertisement.labels %}
|
||||
labels: {{ cilium_bgp_advertisement.labels | to_yaml }}
|
||||
{% 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) }}
|
||||
|
||||
Reference in New Issue
Block a user