Support --ipip option for calico pool

Adds new boolean configuration variable for calico network plugin
`ipip`. When it's enabled calico pool is created with '--ipip'
option (IP-over-IP encapsulation across hosts).

Also refactor pool creation tasks to simplify logic and make tasks
more readable.
This commit is contained in:
Aleksandr Didenko
2016-07-21 13:05:40 +02:00
parent 277c5d74cc
commit f94eb0b997
2 changed files with 19 additions and 12 deletions

View File

@@ -2,6 +2,9 @@
# Enables Internet connectivity from containers
nat_outgoing: true
# Use IP-over-IP encapsulation across hosts
ipip: false
# cloud_provider can only be set to 'gce' or 'aws'
# cloud_provider:
calicoctl_image_repo: calico/ctl