fix: when IPv6 is enabled cilium l2 CRs are not needed

Signed-off-by: Devin Buhl <devin@buhl.casa>
This commit is contained in:
Devin Buhl committed 2023-07-17 17:21:01 -04:00
1 parent 1b020d8fb5
commit 9391b0f15f
2 files changed
+6

No files matched your search

@@ -1,3 +1,4 @@
#jinja2: trim_blocks: True, lstrip_blocks: True
---
- name: Cluster Installation
hosts: all
@@ -47,8 +48,10 @@
loop:
- { name: cilium, kind: HelmChart, namespace: kube-system }
- { name: coredns, kind: HelmChart, namespace: kube-system }
{% if bootstrap_ipv6_enabled | default(false) %}
- { name: policy, kind: CiliumL2AnnouncementPolicy }
- { name: pool, kind: CiliumLoadBalancerIPPool }
{% endif %}
- { name: podmonitors.monitoring.coreos.com, kind: CustomResourceDefinition }
- { name: prometheusrules.monitoring.coreos.com, kind: CustomResourceDefinition }
- { name: servicemonitors.monitoring.coreos.com, kind: CustomResourceDefinition }