# This section includes base Calico installation configuration.
# For more information, see: https://docs.tigera.io/calico/latest/reference/installation/api#operator.tigera.io/v1.Installation
apiVersion: operator.tigera.io/v1
kind: Installation
metadata:
  name: default
spec:
  variant: Calico
  cni:
    type: Calico
  calicoNetwork:
    bgp: Disabled
    linuxDataplane: Iptables
    ipPools:
      - cidr: 192.168.0.0/16
        encapsulation: VXLAN
    windowsDataplane: HNS
  serviceCIDRs:
    - 10.96.0.0/12
  windowsNodes:
    cniBinDir: "/Program Files/containerd/cni/bin"
    cniConfigDir: "/Program Files/containerd/cni/conf"
    cniLogDir: /var/log/calico/cni
---
# This section configures the Calico API server.
# For more information, see: https://docs.tigera.io/calico/latest/reference/installation/api#operator.tigera.io/v1.APIServer
apiVersion: operator.tigera.io/v1
kind: APIServer
metadata:
  name: default
spec: {}
