2016-11-08 11:13:20 +00:00
|
|
|
# This ConfigMap can be used to configure a self-hosted Canal installation.
|
|
|
|
# See `canal.yaml` for an example of a Canal deployment which uses
|
|
|
|
# the config in this ConfigMap.
|
|
|
|
kind: ConfigMap
|
|
|
|
apiVersion: v1
|
|
|
|
metadata:
|
|
|
|
name: canal-config
|
|
|
|
data:
|
|
|
|
# Configure this with the location of your etcd cluster.
|
2017-10-04 12:27:55 +00:00
|
|
|
etcd_endpoints: "{{ etcd_access_addresses }}"
|
2016-11-08 11:13:20 +00:00
|
|
|
|
|
|
|
# The interface used by canal for host <-> host communication.
|
2019-09-26 06:27:08 +00:00
|
|
|
# If left blank, then the interface is choosing using the node's
|
2016-11-08 11:13:20 +00:00
|
|
|
# default route.
|
|
|
|
flanneld_iface: "{{ canal_iface }}"
|
|
|
|
|
|
|
|
# Whether or not to masquerade traffic to destinations not within
|
|
|
|
# the pod network.
|
|
|
|
masquerade: "{{ canal_masquerade }}"
|
|
|
|
|
|
|
|
# Cluster name for Flannel etcd path
|
|
|
|
cluster_name: "{{ cluster_name }}"
|
2016-11-14 12:03:54 +00:00
|
|
|
|
|
|
|
# SSL Etcd configuration
|
|
|
|
etcd_cafile: "{{ canal_cert_dir }}/ca_cert.crt"
|
|
|
|
etcd_certfile: "{{ canal_cert_dir }}/cert.crt"
|
|
|
|
etcd_keyfile: "{{ canal_cert_dir }}/key.pem"
|