Update calico

This commit is contained in:
Peter Rifel 2024-12-21 14:53:44 -06:00
parent 011ab0f1b6
commit 716327e899
No known key found for this signature in database
2 changed files with 1430 additions and 62 deletions

View File

@ -303,6 +303,15 @@ func (tf *TemplateFunctions) AddTo(dest template.FuncMap, secretStore fi.SecretS
}
return "CrossSubnet"
}
dest["CalicoIPv6PoolVXLANMode"] = func() string {
if c.EncapsulationMode != "vxlan" {
return "Never"
}
if c.VXLANMode != "" {
return c.VXLANMode
}
return "Never"
}
}
if cluster.Spec.Networking.Cilium != nil {