Skip to content

Commit 80bd451

Browse files
authored
feat(k8s): add cilium_native cni for native routing mode (scaleway#2718)
1 parent e1e0d6a commit 80bd451

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

api/k8s/v1/k8s_sdk.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,8 @@ const (
136136
CNIKilo = CNI("kilo")
137137
// Does not install any CNI. This feature is only available through a ticket and is not covered by support.
138138
CNINone = CNI("none")
139+
// Cilium CNI will be configured in native routing mode (https://docs.cilium.io/en/stable/network/concepts/routing/#native-routing).
140+
CNICiliumNative = CNI("cilium_native")
139141
)
140142

141143
func (enum CNI) String() string {
@@ -155,6 +157,7 @@ func (enum CNI) Values() []CNI {
155157
"flannel",
156158
"kilo",
157159
"none",
160+
"cilium_native",
158161
}
159162
}
160163

0 commit comments

Comments
 (0)