@daocloud-proto/kpanda 0.17.0-dev-cc31bb98 → 0.17.0-dev-a64e97e7

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,6 +62,8 @@ 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",
65
67
  none = "none",
66
68
  }
67
69
 
@@ -95,6 +97,19 @@ export enum CalicoAutoDetectionMethodType {
95
97
  SKIP_INTERFACE = "SKIP_INTERFACE",
96
98
  }
97
99
 
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
+
98
113
  export type CreateClusterRequest = {
99
114
  dkgClusterName?: string
100
115
  clusterName?: string
@@ -226,7 +241,7 @@ type BaseNetworkConfig = {
226
241
  }
227
242
 
228
243
  export type NetworkConfig = BaseNetworkConfig
229
- & OneOf<{ ciliumConfig: CiliumConfig; calicoConfig: CalicoConfig }>
244
+ & OneOf<{ ciliumConfig: CiliumConfig; calicoConfig: CalicoConfig; flannelConfig: FlannelConfig; kubeOvnConfig: KubeOvnConfig }>
230
245
 
231
246
  export type CommonNetworkConfig = {
232
247
  podIPv4CIDR?: string
@@ -236,6 +251,7 @@ export type CommonNetworkConfig = {
236
251
  kubeVipAddr?: string
237
252
  podIPv6CIDR?: string
238
253
  serviceIPv6CIDR?: string
254
+ enableDualStack?: boolean
239
255
  }
240
256
 
241
257
  export type CiliumConfig = {
@@ -243,15 +259,10 @@ export type CiliumConfig = {
243
259
  }
244
260
 
245
261
  export type CalicoConfig = {
246
- dualStackConfig?: CalicoDualStackConfig
247
262
  autoDetectionMethod?: CalicoAutoDetectionMethod
248
263
  ipv4Tunnel?: CalicoConfigCalicoTunnel
249
- iptablesBackend?: CalicoConfigCalicoIptablesBackendType
250
- }
251
-
252
- export type CalicoDualStackConfig = {
253
- enable?: boolean
254
264
  ipv6Tunnel?: CalicoConfigCalicoTunnel
265
+ iptablesBackend?: CalicoConfigCalicoIptablesBackendType
255
266
  }
256
267
 
257
268
  export type CalicoAutoDetectionMethod = {
@@ -259,6 +270,18 @@ export type CalicoAutoDetectionMethod = {
259
270
  value?: string
260
271
  }
261
272
 
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
+
262
285
  export type ResetClusterRequest = {
263
286
  name?: string
264
287
  }
@@ -17,6 +17,8 @@ export enum PluginName {
17
17
  CronHPA = "CronHPA",
18
18
  VPA = "VPA",
19
19
  Hwameistor = "Hwameistor",
20
+ Flannel = "Flannel",
21
+ KubeOvn = "KubeOvn",
20
22
  }
21
23
 
22
24
  export type Plugin = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name":"@daocloud-proto/kpanda",
3
- "version":"v0.17.0-dev-cc31bb98",
3
+ "version":"v0.17.0-dev-a64e97e7",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {