@daocloud-proto/kpanda 0.9.7-24 → 0.9.7-38
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.
|
@@ -71,6 +71,21 @@ export enum CommonNetworkConfigKubeProxyMode {
|
|
|
71
71
|
ipvs = "ipvs",
|
|
72
72
|
}
|
|
73
73
|
|
|
74
|
+
export enum CiliumConfigCiliumTunnelMode {
|
|
75
|
+
CILIUM_TUNNEL_MODE_UNSPECIFIED = "CILIUM_TUNNEL_MODE_UNSPECIFIED",
|
|
76
|
+
CILIUM_TUNNEL_MODE_VXLAN = "CILIUM_TUNNEL_MODE_VXLAN",
|
|
77
|
+
CILIUM_TUNNEL_MODE_GENEVE = "CILIUM_TUNNEL_MODE_GENEVE",
|
|
78
|
+
CILIUM_TUNNEL_MODE_DISABLED = "CILIUM_TUNNEL_MODE_DISABLED",
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
export enum CiliumConfigKubeProxyReplacement {
|
|
82
|
+
KUBE_PROXY_REPLACEMENT_UNSPECIFIED = "KUBE_PROXY_REPLACEMENT_UNSPECIFIED",
|
|
83
|
+
KUBE_PROXY_REPLACEMENT_STRICT = "KUBE_PROXY_REPLACEMENT_STRICT",
|
|
84
|
+
KUBE_PROXY_REPLACEMENT_DISABLED = "KUBE_PROXY_REPLACEMENT_DISABLED",
|
|
85
|
+
KUBE_PROXY_REPLACEMENT_PROBE = "KUBE_PROXY_REPLACEMENT_PROBE",
|
|
86
|
+
KUBE_PROXY_REPLACEMENT_PARTIAL = "KUBE_PROXY_REPLACEMENT_PARTIAL",
|
|
87
|
+
}
|
|
88
|
+
|
|
74
89
|
export enum CalicoConfigCalicoTunnel {
|
|
75
90
|
CALICO_TUNNEL_UNSPECIFIED = "CALICO_TUNNEL_UNSPECIFIED",
|
|
76
91
|
IPIP = "IPIP",
|
|
@@ -213,9 +228,16 @@ export type CommonNetworkConfig = {
|
|
|
213
228
|
kubeProxyMode?: CommonNetworkConfigKubeProxyMode
|
|
214
229
|
enableVip?: boolean
|
|
215
230
|
kubeVipAddr?: string
|
|
231
|
+
podIPv6CIDR?: string
|
|
232
|
+
serviceIPv6CIDR?: string
|
|
216
233
|
}
|
|
217
234
|
|
|
218
235
|
export type CiliumConfig = {
|
|
236
|
+
tunnelMode?: CiliumConfigCiliumTunnelMode
|
|
237
|
+
kubeProxyReplacement?: CiliumConfigKubeProxyReplacement
|
|
238
|
+
enableIpv4?: boolean
|
|
239
|
+
enableIpv6?: boolean
|
|
240
|
+
enableHostLegacyRouting?: boolean
|
|
219
241
|
}
|
|
220
242
|
|
|
221
243
|
export type CalicoConfig = {
|
|
@@ -228,8 +250,6 @@ export type CalicoConfig = {
|
|
|
228
250
|
export type CalicoDualStackConfig = {
|
|
229
251
|
enable?: boolean
|
|
230
252
|
ipv6Tunnel?: CalicoConfigCalicoTunnel
|
|
231
|
-
podIPv6CIDR?: string
|
|
232
|
-
serviceIPv6CIDR?: string
|
|
233
253
|
}
|
|
234
254
|
|
|
235
255
|
export type CalicoAutoDetectionMethod = {
|
|
@@ -285,7 +305,7 @@ export type ClusterlcmOpsStatus = {
|
|
|
285
305
|
}
|
|
286
306
|
|
|
287
307
|
export type ListAvailableVersionsRequest = {
|
|
288
|
-
|
|
308
|
+
cluster?: string
|
|
289
309
|
}
|
|
290
310
|
|
|
291
311
|
export type ListAvailableVersionsResponsePreferredVersion = {
|
|
@@ -671,7 +671,7 @@ export class Clusterlcm {
|
|
|
671
671
|
return fm.fetchReq<KpandaIoApiClusterlcmV1alpha1Clusterlcm.CreateClusterRequest, KpandaIoApiClusterlcmV1alpha1Clusterlcm.ClusterlcmResponse>(`/apis/kpanda.io/v1alpha1/cluster-lcm`, {...initReq, method: "POST", body: JSON.stringify(req)})
|
|
672
672
|
}
|
|
673
673
|
static ListAvailableVersions(req: KpandaIoApiClusterlcmV1alpha1Clusterlcm.ListAvailableVersionsRequest, initReq?: fm.InitReq): Promise<KpandaIoApiClusterlcmV1alpha1Clusterlcm.ListAvailableVersionsResponse> {
|
|
674
|
-
return fm.fetchReq<KpandaIoApiClusterlcmV1alpha1Clusterlcm.ListAvailableVersionsRequest, KpandaIoApiClusterlcmV1alpha1Clusterlcm.ListAvailableVersionsResponse>(`/apis/kpanda.io/v1alpha1/cluster-lcm/
|
|
674
|
+
return fm.fetchReq<KpandaIoApiClusterlcmV1alpha1Clusterlcm.ListAvailableVersionsRequest, KpandaIoApiClusterlcmV1alpha1Clusterlcm.ListAvailableVersionsResponse>(`/apis/kpanda.io/v1alpha1/cluster-lcm/${req["cluster"]}/available-versions?${fm.renderURLSearchParams(req, ["cluster"])}`, {...initReq, method: "GET"})
|
|
675
675
|
}
|
|
676
676
|
static UpgradeCluster(req: KpandaIoApiClusterlcmV1alpha1Clusterlcm.UpgradeClusterRequest, initReq?: fm.InitReq): Promise<KpandaIoApiClusterlcmV1alpha1Clusterlcm.ClusterlcmResponse> {
|
|
677
677
|
return fm.fetchReq<KpandaIoApiClusterlcmV1alpha1Clusterlcm.UpgradeClusterRequest, KpandaIoApiClusterlcmV1alpha1Clusterlcm.ClusterlcmResponse>(`/apis/kpanda.io/v1alpha1/cluster-lcm/${req["name"]}:upgrade`, {...initReq, method: "POST", body: JSON.stringify(req)})
|