sigs.k8s.io/cluster-api-provider-azure@v1.14.3/templates/addons/calico-ipv6/patches/calico-config.yaml (about) 1 kind: ConfigMap 2 apiVersion: v1 3 metadata: 4 name: calico-config 5 namespace: kube-system 6 data: 7 cni_network_config: |- 8 { 9 "name": "k8s-pod-network", 10 "cniVersion": "0.3.1", 11 "plugins": [ 12 { 13 "type": "calico", 14 "log_level": "info", 15 "log_file_path": "/var/log/calico/cni/cni.log", 16 "datastore_type": "kubernetes", 17 "nodename": "__KUBERNETES_NODE_NAME__", 18 "mtu": 1500, 19 "ipam": { 20 "type": "host-local", 21 "subnet": "usePodCidrIPv6" 22 }, 23 "policy": { 24 "type": "k8s" 25 }, 26 "kubernetes": { 27 "kubeconfig": "__KUBECONFIG_FILEPATH__" 28 } 29 }, 30 { 31 "type": "portmap", 32 "snat": true, 33 "capabilities": {"portMappings": true} 34 }, 35 { 36 "type": "bandwidth", 37 "capabilities": {"bandwidth": true} 38 } 39 ] 40 }