Skip to content

Commit

Permalink
Merge pull request #12286 from zetaab/fixcrossubnet
Browse files Browse the repository at this point in the history
use ipip Always by default in OpenStack
  • Loading branch information
k8s-ci-robot committed Sep 7, 2021
2 parents ebd0602 + bb35842 commit 8dee92b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions upup/pkg/fi/cloudup/template_functions.go
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,9 @@ func (tf *TemplateFunctions) AddTo(dest template.FuncMap, secretStore fi.SecretS
if c.IPIPMode != "" {
return c.IPIPMode
}
if kops.CloudProviderID(cluster.Spec.CloudProvider) == kops.CloudProviderOpenstack {
return "Always"
}
return "CrossSubnet"
}
dest["CalicoIPv4PoolVXLANMode"] = func() string {
Expand Down

0 comments on commit 8dee92b

Please sign in to comment.