Browse Source
Add ConfigMap for basic configuration options
Add ConfigMap for basic configuration options
Container settings moved from deamonset yaml to a separate configmap.pull/588/head
6 changed files with 83 additions and 14 deletions
Split View
Diff Options
-
3roles/kubernetes-apps/ansible/tasks/main.yaml
-
9roles/kubernetes-apps/network_plugin/canal/tasks/main.yaml
-
8roles/kubernetes/node/templates/cni-canal.conf.j2
-
7roles/network_plugin/canal/tasks/main.yml
-
22roles/network_plugin/canal/templates/canal-config.yml.j2
-
48roles/network_plugin/canal/templates/canal-node.yml.j2
@ -0,0 +1,22 @@ |
|||
# 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. |
|||
etcd_endpoints: "{{ etcd_access_endpoint }}" |
|||
|
|||
# The interface used by canal for host <-> host communication. |
|||
# If left blank, then the interface is chosing using the node's |
|||
# 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 }}" |
Write
Preview
Loading…
Cancel
Save