Merge "Disable IPIP tunnel in Calico"
This commit is contained in:
commit
1bbba75b3a
@ -2142,7 +2142,6 @@ class platform::kubernetes::dual_stack::ipv4::runtime {
|
|||||||
logoutput => true,
|
logoutput => true,
|
||||||
}
|
}
|
||||||
if $state == true {
|
if $state == true {
|
||||||
$ipip_mode = 'Always'
|
|
||||||
file { $def_pool_filename:
|
file { $def_pool_filename:
|
||||||
ensure => file,
|
ensure => file,
|
||||||
content => template('platform/callico_ippool.yaml.erb'),
|
content => template('platform/callico_ippool.yaml.erb'),
|
||||||
@ -2224,7 +2223,6 @@ class platform::kubernetes::dual_stack::ipv6::runtime {
|
|||||||
logoutput => true,
|
logoutput => true,
|
||||||
}
|
}
|
||||||
if $state == true {
|
if $state == true {
|
||||||
$ipip_mode = 'Never'
|
|
||||||
file { $def_pool_filename:
|
file { $def_pool_filename:
|
||||||
ensure => file,
|
ensure => file,
|
||||||
content => template('platform/callico_ippool.yaml.erb'),
|
content => template('platform/callico_ippool.yaml.erb'),
|
||||||
|
@ -6,6 +6,6 @@ metadata:
|
|||||||
name: default-<%= @protocol %>-ippool
|
name: default-<%= @protocol %>-ippool
|
||||||
spec:
|
spec:
|
||||||
cidr: <%= @pod_sec_subnet %>
|
cidr: <%= @pod_sec_subnet %>
|
||||||
ipipMode: <%= @ipip_mode %>
|
ipipMode: Never
|
||||||
natOutgoing: true
|
natOutgoing: true
|
||||||
vxlanMode: Never
|
vxlanMode: Never
|
||||||
|
Loading…
Reference in New Issue
Block a user