@daocloud-proto/kpanda 0.17.0-dev-26b0c03c → 0.17.0-dev-cc31bb98
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -62,8 +62,6 @@ export enum NetworkConfigCNI {
|
|
|
62
62
|
CNI_UNSPECIFIED = "CNI_UNSPECIFIED",
|
|
63
63
|
calico = "calico",
|
|
64
64
|
cilium = "cilium",
|
|
65
|
-
flannel = "flannel",
|
|
66
|
-
kube_ovn = "kube_ovn",
|
|
67
65
|
none = "none",
|
|
68
66
|
}
|
|
69
67
|
|
|
@@ -97,19 +95,6 @@ export enum CalicoAutoDetectionMethodType {
|
|
|
97
95
|
SKIP_INTERFACE = "SKIP_INTERFACE",
|
|
98
96
|
}
|
|
99
97
|
|
|
100
|
-
export enum FlannelConfigBackendType {
|
|
101
|
-
BACKEND_TYPE_UNSPECIFIED = "BACKEND_TYPE_UNSPECIFIED",
|
|
102
|
-
VXLAN = "VXLAN",
|
|
103
|
-
HostGateway = "HostGateway",
|
|
104
|
-
WireGuard = "WireGuard",
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
export enum KubeOvnConfigNetworkType {
|
|
108
|
-
NETWORK_TYPE_UNSPECIFIED = "NETWORK_TYPE_UNSPECIFIED",
|
|
109
|
-
GENEVE = "GENEVE",
|
|
110
|
-
VLAN = "VLAN",
|
|
111
|
-
}
|
|
112
|
-
|
|
113
98
|
export type CreateClusterRequest = {
|
|
114
99
|
dkgClusterName?: string
|
|
115
100
|
clusterName?: string
|
|
@@ -241,7 +226,7 @@ type BaseNetworkConfig = {
|
|
|
241
226
|
}
|
|
242
227
|
|
|
243
228
|
export type NetworkConfig = BaseNetworkConfig
|
|
244
|
-
& OneOf<{ ciliumConfig: CiliumConfig; calicoConfig: CalicoConfig
|
|
229
|
+
& OneOf<{ ciliumConfig: CiliumConfig; calicoConfig: CalicoConfig }>
|
|
245
230
|
|
|
246
231
|
export type CommonNetworkConfig = {
|
|
247
232
|
podIPv4CIDR?: string
|
|
@@ -251,7 +236,6 @@ export type CommonNetworkConfig = {
|
|
|
251
236
|
kubeVipAddr?: string
|
|
252
237
|
podIPv6CIDR?: string
|
|
253
238
|
serviceIPv6CIDR?: string
|
|
254
|
-
enableDualStack?: boolean
|
|
255
239
|
}
|
|
256
240
|
|
|
257
241
|
export type CiliumConfig = {
|
|
@@ -259,29 +243,22 @@ export type CiliumConfig = {
|
|
|
259
243
|
}
|
|
260
244
|
|
|
261
245
|
export type CalicoConfig = {
|
|
246
|
+
dualStackConfig?: CalicoDualStackConfig
|
|
262
247
|
autoDetectionMethod?: CalicoAutoDetectionMethod
|
|
263
248
|
ipv4Tunnel?: CalicoConfigCalicoTunnel
|
|
264
|
-
ipv6Tunnel?: CalicoConfigCalicoTunnel
|
|
265
249
|
iptablesBackend?: CalicoConfigCalicoIptablesBackendType
|
|
266
250
|
}
|
|
267
251
|
|
|
252
|
+
export type CalicoDualStackConfig = {
|
|
253
|
+
enable?: boolean
|
|
254
|
+
ipv6Tunnel?: CalicoConfigCalicoTunnel
|
|
255
|
+
}
|
|
256
|
+
|
|
268
257
|
export type CalicoAutoDetectionMethod = {
|
|
269
258
|
type?: CalicoAutoDetectionMethodType
|
|
270
259
|
value?: string
|
|
271
260
|
}
|
|
272
261
|
|
|
273
|
-
export type FlannelConfig = {
|
|
274
|
-
backendType?: FlannelConfigBackendType
|
|
275
|
-
}
|
|
276
|
-
|
|
277
|
-
export type KubeOvnConfig = {
|
|
278
|
-
networkType?: KubeOvnConfigNetworkType
|
|
279
|
-
defaultInterfaceName?: string
|
|
280
|
-
defaultVlanId?: string
|
|
281
|
-
defaultGatewayIpv4?: string
|
|
282
|
-
defaultGatewayIpv6?: string
|
|
283
|
-
}
|
|
284
|
-
|
|
285
262
|
export type ResetClusterRequest = {
|
|
286
263
|
name?: string
|
|
287
264
|
}
|