You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
918 B

  1. # This ConfigMap can be used to configure a self-hosted Canal installation.
  2. # See `canal.yaml` for an example of a Canal deployment which uses
  3. # the config in this ConfigMap.
  4. kind: ConfigMap
  5. apiVersion: v1
  6. metadata:
  7. name: canal-config
  8. data:
  9. # Configure this with the location of your etcd cluster.
  10. etcd_endpoints: "{{ etcd_access_endpoint }}"
  11. # The interface used by canal for host <-> host communication.
  12. # If left blank, then the interface is chosing using the node's
  13. # default route.
  14. flanneld_iface: "{{ canal_iface }}"
  15. # Whether or not to masquerade traffic to destinations not within
  16. # the pod network.
  17. masquerade: "{{ canal_masquerade }}"
  18. # Cluster name for Flannel etcd path
  19. cluster_name: "{{ cluster_name }}"
  20. # SSL Etcd configuration
  21. etcd_cafile: "{{ canal_cert_dir }}/ca_cert.crt"
  22. etcd_certfile: "{{ canal_cert_dir }}/cert.crt"
  23. etcd_keyfile: "{{ canal_cert_dir }}/key.pem"