Packer.Images/ansible/roles/firstboot/files/ansible_payload/bootstrap/templates/ippool.j2

11 lines
376 B
Plaintext
Raw Normal View History

2023-10-06 11:16:38 +00:00
apiVersion: ipam.cluster.x-k8s.io/v1alpha2
kind: InClusterIPPool
metadata:
name: inclusterippool-{{ _template.cluster.name }}
namespace: {{ _template.cluster.namespace }}
spec:
2023-10-06 11:16:38 +00:00
addresses:
- {{ _template.cluster.network.startip }}-{{ _template.cluster.network.endip }}
prefix: {{ _template.cluster.network.prefix }}
gateway: {{ _template.cluster.network.gateway }}