Packer.Images/ansible/roles/firstboot/files/ansible_payload/bootstrap/templates/ippool.j2
Danny Bessems 8c6a9f38ba
All checks were successful
continuous-integration/drone/push Build is passing
fix: Update IPPool template to new CRD
2023-10-06 13:16:38 +02:00

11 lines
376 B
Django/Jinja

apiVersion: ipam.cluster.x-k8s.io/v1alpha2
kind: InClusterIPPool
metadata:
name: inclusterippool-{{ _template.cluster.name }}
namespace: {{ _template.cluster.namespace }}
spec:
addresses:
- {{ _template.cluster.network.startip }}-{{ _template.cluster.network.endip }}
prefix: {{ _template.cluster.network.prefix }}
gateway: {{ _template.cluster.network.gateway }}