github.com/jlmeeker/kismatic@v1.10.1-0.20180612190640-57f9005a1f1a/ansible/roles/contiv/templates/configmap.yaml (about)

     1  ---
     2  kind: ConfigMap
     3  apiVersion: v1
     4  metadata:
     5    name: contiv-config
     6    namespace: kube-system
     7  data:
     8    cluster_store: "etcd://{{ groups['etcd'][0] }}:{{ etcd_networking_client_port }}"
     9    vlan_if: "{{ contiv.vlan_iface }}"
    10    # The CNI network configuration that gets installed on each node.
    11    cni_config: |-
    12      {
    13        "cniVersion": "0.1.0",
    14        "name": "contiv-net",
    15        "type": "contivk8s"
    16      }
    17    config: |-
    18      {
    19         "K8S_API_SERVER": "https://{{ kubernetes_load_balanced_fqdn }}:6443",
    20         "K8S_CA": "/var/run/secrets/kubernetes.io/serviceaccount/ca.crt",
    21         "K8S_KEY": "",
    22         "K8S_CERT": "",
    23         "K8S_TOKEN": "",
    24         "SVC_SUBNET": "{{ kubernetes_services_cidr }}"
    25      }
    26  ---