summaryrefslogtreecommitdiff
path: root/roles/kubernetes/kubeadm/base/templates/net_kubeguard/cni.json.j2
blob: eb9e3d614163a3912f401d682e5c4e6788d80400 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
{
  "cniVersion": "0.3.1",
  "name": "kubeguard",
  "type": "bridge",
  "bridge": "kubeguard-br0",
  "isDefaultGateway": true,
  "hairpinMode": true,
  "ipam": {
    "type": "host-local",
    "subnet": "{{ kubernetes.pod_ip_range | ipsubnet(kubernetes.pod_ip_range_size, kubeguard.node_index[inventory_hostname]) }}"
  }
}