From 32a3e70d69adc413694ee405c8b31d7acf099018 Mon Sep 17 00:00:00 2001 From: caseydavenport <1944093+caseydavenport@users.noreply.github.com> Date: Mon, 10 Aug 2026 12:52:05 +0000 Subject: [PATCH] Automatic API update from projectcalico/calico master --- build/codegen.sh | 8 +- ...projectcalico.org_felixconfigurations.yaml | 55 +- .../crd/projectcalico.org_ipreservations.yaml | 2 +- ...ico.org_kubecontrollersconfigurations.yaml | 14 + deps.txt | 42 +- go.mod | 104 +- go.sum | 128 +- hack/openapi-violations-known.list | 2 + lib.Makefile | 56 +- metadata.mk | 6 +- pkg/apis/projectcalico/v3/felixconfig.go | 51 +- pkg/apis/projectcalico/v3/ipreservation.go | 4 +- .../projectcalico/v3/kubecontrollersconfig.go | 7 +- .../projectcalico/v3/zz_generated.deepcopy.go | 17 + .../internal/internal.go | 14 + .../projectcalico/v3/bgpconfiguration.go | 2 +- .../projectcalico/v3/bgpfilter.go | 2 +- .../projectcalico/v3/bgppeer.go | 2 +- .../projectcalico/v3/blockaffinity.go | 2 +- .../projectcalico/v3/caliconodestatus.go | 2 +- .../projectcalico/v3/clusterinformation.go | 2 +- .../projectcalico/v3/felixconfiguration.go | 2 +- .../v3/felixconfigurationspec.go | 48 +- .../projectcalico/v3/globalnetworkpolicy.go | 2 +- .../projectcalico/v3/globalnetworkset.go | 2 +- .../projectcalico/v3/hostendpoint.go | 2 +- .../projectcalico/v3/ipamblock.go | 2 +- .../projectcalico/v3/ipamconfiguration.go | 2 +- .../projectcalico/v3/ipamhandle.go | 2 +- .../projectcalico/v3/ippool.go | 2 +- .../projectcalico/v3/ipreservation.go | 2 +- .../v3/kubecontrollersconfiguration.go | 2 +- .../projectcalico/v3/networkpolicy.go | 2 +- .../projectcalico/v3/networkset.go | 2 +- .../projectcalico/v3/profile.go | 2 +- .../v3/stagedglobalnetworkpolicy.go | 2 +- .../v3/stagedkubernetesnetworkpolicy.go | 2 +- .../projectcalico/v3/stagednetworkpolicy.go | 2 +- .../projectcalico/v3/template.go | 16 + .../projectcalico/v3/tier.go | 2 +- .../clientset/clientset.go | 4 +- .../clientset/fake/clientset_generated.go | 2 +- .../externalversions/factory.go | 4 +- pkg/openapi/generated.openapi.go | 1369 +++++++---------- 44 files changed, 994 insertions(+), 1005 deletions(-) diff --git a/build/codegen.sh b/build/codegen.sh index c857d5bbc..07e1c9f47 100755 --- a/build/codegen.sh +++ b/build/codegen.sh @@ -70,7 +70,13 @@ openapi-gen \ "${PACKAGE_NAME}/pkg/lib/numorstring" 2>&1 | tee /tmp/openapi-gen.log grep "API rule violation" /tmp/openapi-gen.log | grep "projectcalico" > /tmp/openapi-violations.log || true if [ -s /tmp/openapi-violations.log ]; then - grep -v -F -f "${REPO_ROOT}/hack/openapi-violations-known.list" /tmp/openapi-violations.log > /tmp/openapi-new-violations.log || true + # Strip comments and blank lines before using the known list as a pattern + # file. A blank line makes grep -F match everything, which silently disables + # the gate. + KNOWN_VIOLATIONS=$(mktemp) + grep -v -e '^#' -e '^[[:space:]]*$' "${REPO_ROOT}/hack/openapi-violations-known.list" > "${KNOWN_VIOLATIONS}" || true + grep -v -x -F -f "${KNOWN_VIOLATIONS}" /tmp/openapi-violations.log > /tmp/openapi-new-violations.log || true + rm -f "${KNOWN_VIOLATIONS}" if [ -s /tmp/openapi-new-violations.log ]; then echo "ERROR: openapi-gen reported new API rule violations in Calico types:" cat /tmp/openapi-new-violations.log diff --git a/config/crd/projectcalico.org_felixconfigurations.yaml b/config/crd/projectcalico.org_felixconfigurations.yaml index fb577c133..97abe8394 100644 --- a/config/crd/projectcalico.org_felixconfigurations.yaml +++ b/config/crd/projectcalico.org_felixconfigurations.yaml @@ -301,17 +301,13 @@ spec: packets from external sources are dropped. [Default: true] type: boolean bpfJITHardening: - allOf: - - enum: - - Auto - - Strict - - enum: - - Auto - - Strict description: |- BPFJITHardening controls BPF JIT hardening. When set to "Auto", Felix will set JIT hardening to 1 if it detects the current value is 2 (strict mode that hurts performance). When set to "Strict", Felix will not modify the JIT hardening setting. [Default: Auto] + enum: + - Auto + - Strict type: string bpfKubeProxyHealthzPort: description: |- @@ -434,6 +430,18 @@ spec: to hold one entry per workload and a handful of entries per host (enough to cover its own IPs and tunnel IPs). type: integer + bpfOverlayHostSourceIP: + description: |- + BPFOverlayHostSourceIP controls the source IP that Felix uses in BPF mode for host-networked + (node-originated) traffic egressing over an IPIP/VXLAN overlay tunnel. "TunnelAddress" (the default) + assigns an IP address to the overlay tunnel device and uses it as the source, preserving the behaviour + of clusters upgraded from earlier releases. "HostAddress" uses the node's own IP directly and does not + assign a tunnel device IP. This option has no effect on WireGuard tunnels, which always use a tunnel + device IP. [Default: TunnelAddress] + enum: + - TunnelAddress + - HostAddress + type: string bpfPSNATPorts: anyOf: - type: integer @@ -1102,6 +1110,25 @@ spec: blocks traffic with a "drop" action. If you want to use a "reject" action instead you can configure it here. pattern: ^(?i)(Drop|Reject)?$ type: string + nftablesFlowTableDataIfacePattern: + description: |- + NFTablesFlowTableDataIfacePattern is a regular expression that controls which host + interfaces are added to the nftables flowtable, so that traffic forwarded between those + interfaces and local workloads is offloaded to the flowtable fast path. Leave empty to + offload only workload-to-workload traffic. Only takes effect when NFTablesFlowTableOffload + is not Disabled. [Default: ""] + type: string + nftablesFlowTableOffload: + default: Disabled + description: |- + NFTablesFlowTableOffload controls which traffic nftables flowtable offload is enabled for, + for improved forwarding performance. When set to "All", established connections accepted by + Calico policy are offloaded to the kernel's flowtable fast path. Only applies when + nftables mode is active. [Default: Disabled] + enum: + - All + - Disabled + type: string nftablesMangleAllowAction: description: |- NftablesMangleAllowAction controls the nftables action that Felix uses to represent the "allow" policy verdict @@ -1120,9 +1147,10 @@ spec: type: integer nftablesMode: default: Auto - description: - "NFTablesMode configures nftables support in Felix. [Default: - Auto]" + description: |- + NFTablesMode configures nftables support in Felix. In Auto mode, Felix uses the + nftables dataplane if kube-proxy is detected to be running in nftables mode. + [Default: Auto] enum: - Disabled - Enabled @@ -1189,7 +1217,12 @@ spec: prometheusMetricsClientAuth: description: |- PrometheusMetricsClientAuth specifies the client authentication type for the /metrics endpoint. - This determines how the server validates client certificates. Default is "RequireAndVerifyClientCert". + This determines how the server validates client certificates. Default is "NoClientCert". + enum: + - RequireAndVerifyClientCert + - RequireAnyClientCert + - VerifyClientCertIfGiven + - NoClientCert type: string prometheusMetricsEnabled: description: diff --git a/config/crd/projectcalico.org_ipreservations.yaml b/config/crd/projectcalico.org_ipreservations.yaml index e4d2af0a7..42e4494bf 100644 --- a/config/crd/projectcalico.org_ipreservations.yaml +++ b/config/crd/projectcalico.org_ipreservations.yaml @@ -49,8 +49,8 @@ spec: description: |- ReservedCIDRs is a list of CIDRs that Calico IPAM will exclude from new allocations. Each entry must be in CIDR notation (e.g., "10.0.0.0/24" or "10.0.0.1/32" for a single IP). - format: cidr items: + format: cidr type: string type: array x-kubernetes-list-type: set diff --git a/config/crd/projectcalico.org_kubecontrollersconfigurations.yaml b/config/crd/projectcalico.org_kubecontrollersconfigurations.yaml index 3e8fd4a0b..6ec006d96 100644 --- a/config/crd/projectcalico.org_kubecontrollersconfigurations.yaml +++ b/config/crd/projectcalico.org_kubecontrollersconfigurations.yaml @@ -115,6 +115,13 @@ spec: AutoHostEndpoints items: properties: + annotations: + additionalProperties: + type: string + description: + Annotations adds the specified annotations + to the generated AutoHostEndpoint. + type: object generateName: description: GenerateName is appended to the end @@ -344,6 +351,13 @@ spec: AutoHostEndpoints items: properties: + annotations: + additionalProperties: + type: string + description: + Annotations adds the specified + annotations to the generated AutoHostEndpoint. + type: object generateName: description: GenerateName is appended to the diff --git a/deps.txt b/deps.txt index 89a9e1756..6b4c872d3 100644 --- a/deps.txt +++ b/deps.txt @@ -1,21 +1,30 @@ !!! GENERATED FILE, DO NOT EDIT !!! Run 'make gen-deps-files' to regenerate. -go 1.26.4 +go 1.26.5 github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc github.com/emicklei/go-restful v2.15.0+incompatible github.com/emicklei/go-restful/v3 v3.13.0 -github.com/fxamacker/cbor/v2 v2.9.0 +github.com/fxamacker/cbor/v2 v2.9.1 github.com/go-logr/logr v1.4.3 github.com/go-openapi/jsonpointer v0.22.4 github.com/go-openapi/jsonreference v0.21.4 -github.com/go-openapi/swag v0.23.1 +github.com/go-openapi/swag v0.25.4 +github.com/go-openapi/swag/cmdutils v0.25.4 +github.com/go-openapi/swag/conv v0.25.4 +github.com/go-openapi/swag/fileutils v0.25.4 +github.com/go-openapi/swag/jsonname v0.25.4 +github.com/go-openapi/swag/jsonutils v0.25.4 +github.com/go-openapi/swag/loading v0.25.4 +github.com/go-openapi/swag/mangling v0.25.4 +github.com/go-openapi/swag/netutils v0.25.4 +github.com/go-openapi/swag/stringutils v0.25.4 +github.com/go-openapi/swag/typeutils v0.25.4 +github.com/go-openapi/swag/yamlutils v0.25.4 github.com/google/gnostic-models v0.7.0 github.com/google/uuid v1.6.0 github.com/jinzhu/copier v0.4.0 -github.com/josharian/intern v1.0.0 github.com/json-iterator/go v1.1.12 -github.com/mailru/easyjson v0.9.1 github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd github.com/modern-go/reflect2 v1.0.3-0.20250322232337-35a7c28c31ee github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 @@ -25,27 +34,26 @@ github.com/spf13/pflag v1.0.10 github.com/x448/float16 v0.8.4 go.yaml.in/yaml/v2 v2.4.4 go.yaml.in/yaml/v3 v3.0.4 -golang.org/x/net v0.56.0 +golang.org/x/net v0.57.0 golang.org/x/oauth2 v0.36.0 -golang.org/x/sys v0.46.0 -golang.org/x/term v0.44.0 -golang.org/x/text v0.38.0 +golang.org/x/sys v0.47.0 +golang.org/x/term v0.45.0 +golang.org/x/text v0.40.0 golang.org/x/time v0.15.0 google.golang.org/protobuf v1.36.12-0.20260120151049-f2248ac996af gopkg.in/evanphx/json-patch.v4 v4.13.0 gopkg.in/inf.v0 v0.9.1 -gopkg.in/yaml.v3 v3.0.1 -k8s.io/api v0.36.2 -k8s.io/apiextensions-apiserver v0.36.2 -k8s.io/apimachinery v0.36.2 -k8s.io/client-go v0.36.2 +k8s.io/api v0.37.0-beta.0 +k8s.io/apiextensions-apiserver v0.37.0-beta.0 +k8s.io/apimachinery v0.37.0-beta.0 +k8s.io/client-go v0.37.0-beta.0 k8s.io/klog v0.2.0 k8s.io/klog/v2 v2.140.0 -k8s.io/kube-openapi v0.0.0-20260317180543-43fb72c5454a -k8s.io/utils v0.0.0-20260210185600-b8788abfbbc2 +k8s.io/kube-openapi v0.0.0-20260618221249-bc653b64f974 +k8s.io/utils v0.0.0-20260626114624-be93311217bd sigs.k8s.io/json v0.0.0-20250730193827-2d320260d730 sigs.k8s.io/randfill v1.0.0 -sigs.k8s.io/structured-merge-diff/v6 v6.4.0 +sigs.k8s.io/structured-merge-diff/v6 v6.4.2 sigs.k8s.io/yaml v1.6.0 local:api/examples/list-gnp diff --git a/go.mod b/go.mod index 0f356c510..1d1c1efcd 100644 --- a/go.mod +++ b/go.mod @@ -1,17 +1,17 @@ module github.com/projectcalico/api -go 1.26.4 +go 1.26.5 require ( github.com/jinzhu/copier v0.4.0 github.com/onsi/ginkgo/v2 v2.31.0 github.com/onsi/gomega v1.42.0 - k8s.io/api v0.36.2 - k8s.io/apiextensions-apiserver v0.36.2 - k8s.io/apimachinery v0.36.2 - k8s.io/client-go v0.36.2 - k8s.io/kube-openapi v0.0.0-20260317180543-43fb72c5454a - sigs.k8s.io/structured-merge-diff/v6 v6.4.0 + k8s.io/api v0.37.0-beta.0 + k8s.io/apiextensions-apiserver v0.37.0-beta.0 + k8s.io/apimachinery v0.37.0-beta.0 + k8s.io/client-go v0.37.0-beta.0 + k8s.io/kube-openapi v0.0.0-20260618221249-bc653b64f974 + sigs.k8s.io/structured-merge-diff/v6 v6.4.2 sigs.k8s.io/yaml v1.6.0 ) @@ -19,69 +19,77 @@ require ( github.com/Masterminds/semver/v3 v3.4.0 // indirect github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect github.com/emicklei/go-restful/v3 v3.13.0 // indirect - github.com/fxamacker/cbor/v2 v2.9.0 // indirect + github.com/fxamacker/cbor/v2 v2.9.1 // indirect github.com/go-logr/logr v1.4.3 // indirect - github.com/go-openapi/jsonpointer v0.21.0 // indirect - github.com/go-openapi/jsonreference v0.20.2 // indirect - github.com/go-openapi/swag v0.23.0 // indirect + github.com/go-openapi/jsonpointer v0.22.4 // indirect + github.com/go-openapi/jsonreference v0.21.4 // indirect + github.com/go-openapi/swag v0.25.4 // indirect + github.com/go-openapi/swag/cmdutils v0.25.4 // indirect + github.com/go-openapi/swag/conv v0.25.4 // indirect + github.com/go-openapi/swag/fileutils v0.25.4 // indirect + github.com/go-openapi/swag/jsonname v0.25.4 // indirect + github.com/go-openapi/swag/jsonutils v0.25.4 // indirect + github.com/go-openapi/swag/loading v0.25.4 // indirect + github.com/go-openapi/swag/mangling v0.25.4 // indirect + github.com/go-openapi/swag/netutils v0.25.4 // indirect + github.com/go-openapi/swag/stringutils v0.25.4 // indirect + github.com/go-openapi/swag/typeutils v0.25.4 // indirect + github.com/go-openapi/swag/yamlutils v0.25.4 // indirect github.com/go-task/slim-sprig/v3 v3.0.0 // indirect github.com/google/gnostic-models v0.7.0 // indirect github.com/google/go-cmp v0.7.0 // indirect github.com/google/pprof v0.0.0-20260402051712-545e8a4df936 // indirect github.com/google/uuid v1.6.0 // indirect - github.com/josharian/intern v1.0.0 // indirect github.com/json-iterator/go v1.1.12 // indirect - github.com/mailru/easyjson v0.7.7 // indirect github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect github.com/modern-go/reflect2 v1.0.3-0.20250322232337-35a7c28c31ee // indirect github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect - github.com/spf13/pflag v1.0.9 // indirect + github.com/spf13/pflag v1.0.10 // indirect github.com/x448/float16 v0.8.4 // indirect - go.yaml.in/yaml/v2 v2.4.3 // indirect + go.yaml.in/yaml/v2 v2.4.4 // indirect go.yaml.in/yaml/v3 v3.0.4 // indirect - golang.org/x/mod v0.37.0 // indirect - golang.org/x/net v0.56.0 // indirect + golang.org/x/mod v0.38.0 // indirect + golang.org/x/net v0.57.0 // indirect golang.org/x/oauth2 v0.36.0 // indirect - golang.org/x/sync v0.21.0 // indirect - golang.org/x/sys v0.46.0 // indirect - golang.org/x/term v0.44.0 // indirect - golang.org/x/text v0.38.0 // indirect + golang.org/x/sync v0.22.0 // indirect + golang.org/x/sys v0.47.0 // indirect + golang.org/x/term v0.45.0 // indirect + golang.org/x/text v0.40.0 // indirect golang.org/x/time v0.15.0 // indirect - golang.org/x/tools v0.47.0 // indirect + golang.org/x/tools v0.48.0 // indirect google.golang.org/protobuf v1.36.12-0.20260120151049-f2248ac996af // indirect gopkg.in/evanphx/json-patch.v4 v4.13.0 // indirect gopkg.in/inf.v0 v0.9.1 // indirect - gopkg.in/yaml.v3 v3.0.1 // indirect k8s.io/klog/v2 v2.140.0 // indirect - k8s.io/utils v0.0.0-20260210185600-b8788abfbbc2 // indirect + k8s.io/utils v0.0.0-20260626114624-be93311217bd // indirect sigs.k8s.io/json v0.0.0-20250730193827-2d320260d730 // indirect sigs.k8s.io/randfill v1.0.0 // indirect ) replace ( - k8s.io/api => k8s.io/api v0.36.2 - k8s.io/apiextensions-apiserver => k8s.io/apiextensions-apiserver v0.36.2 - k8s.io/apimachinery => k8s.io/apimachinery v0.36.2 - k8s.io/apiserver => k8s.io/apiserver v0.36.2 - k8s.io/cli-runtime => k8s.io/cli-runtime v0.36.2 - k8s.io/client-go => k8s.io/client-go v0.36.2 - k8s.io/cloud-provider => k8s.io/cloud-provider v0.36.2 - k8s.io/cluster-bootstrap => k8s.io/cluster-bootstrap v0.36.2 - k8s.io/code-generator => k8s.io/code-generator v0.36.2 - k8s.io/component-base => k8s.io/component-base v0.36.2 - k8s.io/component-helpers => k8s.io/component-helpers v0.36.2 - k8s.io/controller-manager => k8s.io/controller-manager v0.36.2 - k8s.io/cri-api => k8s.io/cri-api v0.36.2 - k8s.io/csi-translation-lib => k8s.io/csi-translation-lib v0.36.2 - k8s.io/externaljwt => k8s.io/externaljwt v0.36.2 - k8s.io/kube-aggregator => k8s.io/kube-aggregator v0.36.2 - k8s.io/kube-controller-manager => k8s.io/kube-controller-manager v0.36.2 - k8s.io/kube-proxy => k8s.io/kube-proxy v0.36.2 - k8s.io/kube-scheduler => k8s.io/kube-scheduler v0.36.2 - k8s.io/kubectl => k8s.io/kubectl v0.36.2 - k8s.io/kubelet => k8s.io/kubelet v0.36.2 - k8s.io/metrics => k8s.io/metrics v0.36.2 - k8s.io/mount-utils => k8s.io/mount-utils v0.36.2 - k8s.io/sample-apiserver => k8s.io/sample-apiserver v0.36.2 + k8s.io/api => k8s.io/api v0.37.0-beta.0 + k8s.io/apiextensions-apiserver => k8s.io/apiextensions-apiserver v0.37.0-beta.0 + k8s.io/apimachinery => k8s.io/apimachinery v0.37.0-beta.0 + k8s.io/apiserver => k8s.io/apiserver v0.37.0-beta.0 + k8s.io/cli-runtime => k8s.io/cli-runtime v0.37.0-beta.0 + k8s.io/client-go => k8s.io/client-go v0.37.0-beta.0 + k8s.io/cloud-provider => k8s.io/cloud-provider v0.37.0-beta.0 + k8s.io/cluster-bootstrap => k8s.io/cluster-bootstrap v0.37.0-beta.0 + k8s.io/code-generator => k8s.io/code-generator v0.37.0-beta.0 + k8s.io/component-base => k8s.io/component-base v0.37.0-beta.0 + k8s.io/component-helpers => k8s.io/component-helpers v0.37.0-beta.0 + k8s.io/controller-manager => k8s.io/controller-manager v0.37.0-beta.0 + k8s.io/cri-api => k8s.io/cri-api v0.37.0-beta.0 + k8s.io/csi-translation-lib => k8s.io/csi-translation-lib v0.37.0-beta.0 + k8s.io/externaljwt => k8s.io/externaljwt v0.37.0-beta.0 + k8s.io/kube-aggregator => k8s.io/kube-aggregator v0.37.0-beta.0 + k8s.io/kube-controller-manager => k8s.io/kube-controller-manager v0.37.0-beta.0 + k8s.io/kube-proxy => k8s.io/kube-proxy v0.37.0-beta.0 + k8s.io/kube-scheduler => k8s.io/kube-scheduler v0.37.0-beta.0 + k8s.io/kubectl => k8s.io/kubectl v0.37.0-beta.0 + k8s.io/kubelet => k8s.io/kubelet v0.37.0-beta.0 + k8s.io/metrics => k8s.io/metrics v0.37.0-beta.0 + k8s.io/mount-utils => k8s.io/mount-utils v0.37.0-beta.0 + k8s.io/sample-apiserver => k8s.io/sample-apiserver v0.37.0-beta.0 ) diff --git a/go.sum b/go.sum index 15c44919b..a4d8ce2d4 100644 --- a/go.sum +++ b/go.sum @@ -1,14 +1,13 @@ github.com/Masterminds/semver/v3 v3.4.0 h1:Zog+i5UMtVoCU8oKka5P7i9q9HgrJeGzI9SA1Xbatp0= github.com/Masterminds/semver/v3 v3.4.0/go.mod h1:4V+yj/TJE1HU9XfppCwVMZq3I84lprf4nC11bSS5beM= -github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc h1:U9qPSI2PIWSS1VwoXQT9A3Wy9MM3WgvqSxFWenqJduM= github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/emicklei/go-restful/v3 v3.13.0 h1:C4Bl2xDndpU6nJ4bc1jXd+uTmYPVUwkD6bFY/oTyCes= github.com/emicklei/go-restful/v3 v3.13.0/go.mod h1:6n3XBCmQQb25CM2LCACGz8ukIrRry+4bhvbpWn3mrbc= -github.com/fxamacker/cbor/v2 v2.9.0 h1:NpKPmjDBgUfBms6tr6JZkTHtfFGcMKsw3eGcmD/sapM= -github.com/fxamacker/cbor/v2 v2.9.0/go.mod h1:vM4b+DJCtHn+zz7h3FFp/hDAI9WNWCsZj23V5ytsSxQ= +github.com/fxamacker/cbor/v2 v2.9.1 h1:2rWm8B193Ll4VdjsJY28jxs70IdDsHRWgQYAI80+rMQ= +github.com/fxamacker/cbor/v2 v2.9.1/go.mod h1:vM4b+DJCtHn+zz7h3FFp/hDAI9WNWCsZj23V5ytsSxQ= github.com/gkampitakis/ciinfo v0.3.2 h1:JcuOPk8ZU7nZQjdUhctuhQofk7BGHuIy0c9Ez8BNhXs= github.com/gkampitakis/ciinfo v0.3.2/go.mod h1:1NIwaOcFChN4fa/B0hEBdAb6npDlFL8Bwx4dfRLRqAo= github.com/gkampitakis/go-diff v1.3.2 h1:Qyn0J9XJSDTgnsgHRdz9Zp24RaJeKMUHg2+PDZZdC4M= @@ -17,14 +16,40 @@ github.com/gkampitakis/go-snaps v0.5.15 h1:amyJrvM1D33cPHwVrjo9jQxX8g/7E2wYdZ+01 github.com/gkampitakis/go-snaps v0.5.15/go.mod h1:HNpx/9GoKisdhw9AFOBT1N7DBs9DiHo/hGheFGBZ+mc= github.com/go-logr/logr v1.4.3 h1:CjnDlHq8ikf6E492q6eKboGOC0T8CDaOvkHCIg8idEI= github.com/go-logr/logr v1.4.3/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY= -github.com/go-openapi/jsonpointer v0.19.6/go.mod h1:osyAmYz/mB/C3I+WsTTSgw1ONzaLJoLCyoi6/zppojs= -github.com/go-openapi/jsonpointer v0.21.0 h1:YgdVicSA9vH5RiHs9TZW5oyafXZFc6+2Vc1rr/O9oNQ= -github.com/go-openapi/jsonpointer v0.21.0/go.mod h1:IUyH9l/+uyhIYQ/PXVA41Rexl+kOkAPDdXEYns6fzUY= -github.com/go-openapi/jsonreference v0.20.2 h1:3sVjiK66+uXK/6oQ8xgcRKcFgQ5KXa2KvnJRumpMGbE= -github.com/go-openapi/jsonreference v0.20.2/go.mod h1:Bl1zwGIM8/wsvqjsOQLJ/SH+En5Ap4rVB5KVcIDZG2k= -github.com/go-openapi/swag v0.22.3/go.mod h1:UzaqsxGiab7freDnrUUra0MwWfN/q7tE4j+VcZ0yl14= -github.com/go-openapi/swag v0.23.0 h1:vsEVJDUo2hPJ2tu0/Xc+4noaxyEffXNIs3cOULZ+GrE= -github.com/go-openapi/swag v0.23.0/go.mod h1:esZ8ITTYEsH1V2trKHjAN8Ai7xHb8RV+YSZ577vPjgQ= +github.com/go-openapi/jsonpointer v0.22.4 h1:dZtK82WlNpVLDW2jlA1YCiVJFVqkED1MegOUy9kR5T4= +github.com/go-openapi/jsonpointer v0.22.4/go.mod h1:elX9+UgznpFhgBuaMQ7iu4lvvX1nvNsesQ3oxmYTw80= +github.com/go-openapi/jsonreference v0.21.4 h1:24qaE2y9bx/q3uRK/qN+TDwbok1NhbSmGjjySRCHtC8= +github.com/go-openapi/jsonreference v0.21.4/go.mod h1:rIENPTjDbLpzQmQWCj5kKj3ZlmEh+EFVbz3RTUh30/4= +github.com/go-openapi/swag v0.25.4 h1:OyUPUFYDPDBMkqyxOTkqDYFnrhuhi9NR6QVUvIochMU= +github.com/go-openapi/swag v0.25.4/go.mod h1:zNfJ9WZABGHCFg2RnY0S4IOkAcVTzJ6z2Bi+Q4i6qFQ= +github.com/go-openapi/swag/cmdutils v0.25.4 h1:8rYhB5n6WawR192/BfUu2iVlxqVR9aRgGJP6WaBoW+4= +github.com/go-openapi/swag/cmdutils v0.25.4/go.mod h1:pdae/AFo6WxLl5L0rq87eRzVPm/XRHM3MoYgRMvG4A0= +github.com/go-openapi/swag/conv v0.25.4 h1:/Dd7p0LZXczgUcC/Ikm1+YqVzkEeCc9LnOWjfkpkfe4= +github.com/go-openapi/swag/conv v0.25.4/go.mod h1:3LXfie/lwoAv0NHoEuY1hjoFAYkvlqI/Bn5EQDD3PPU= +github.com/go-openapi/swag/fileutils v0.25.4 h1:2oI0XNW5y6UWZTC7vAxC8hmsK/tOkWXHJQH4lKjqw+Y= +github.com/go-openapi/swag/fileutils v0.25.4/go.mod h1:cdOT/PKbwcysVQ9Tpr0q20lQKH7MGhOEb6EwmHOirUk= +github.com/go-openapi/swag/jsonname v0.25.4 h1:bZH0+MsS03MbnwBXYhuTttMOqk+5KcQ9869Vye1bNHI= +github.com/go-openapi/swag/jsonname v0.25.4/go.mod h1:GPVEk9CWVhNvWhZgrnvRA6utbAltopbKwDu8mXNUMag= +github.com/go-openapi/swag/jsonutils v0.25.4 h1:VSchfbGhD4UTf4vCdR2F4TLBdLwHyUDTd1/q4i+jGZA= +github.com/go-openapi/swag/jsonutils v0.25.4/go.mod h1:7OYGXpvVFPn4PpaSdPHJBtF0iGnbEaTk8AvBkoWnaAY= +github.com/go-openapi/swag/jsonutils/fixtures_test v0.25.4 h1:IACsSvBhiNJwlDix7wq39SS2Fh7lUOCJRmx/4SN4sVo= +github.com/go-openapi/swag/jsonutils/fixtures_test v0.25.4/go.mod h1:Mt0Ost9l3cUzVv4OEZG+WSeoHwjWLnarzMePNDAOBiM= +github.com/go-openapi/swag/loading v0.25.4 h1:jN4MvLj0X6yhCDduRsxDDw1aHe+ZWoLjW+9ZQWIKn2s= +github.com/go-openapi/swag/loading v0.25.4/go.mod h1:rpUM1ZiyEP9+mNLIQUdMiD7dCETXvkkC30z53i+ftTE= +github.com/go-openapi/swag/mangling v0.25.4 h1:2b9kBJk9JvPgxr36V23FxJLdwBrpijI26Bx5JH4Hp48= +github.com/go-openapi/swag/mangling v0.25.4/go.mod h1:6dxwu6QyORHpIIApsdZgb6wBk/DPU15MdyYj/ikn0Hg= +github.com/go-openapi/swag/netutils v0.25.4 h1:Gqe6K71bGRb3ZQLusdI8p/y1KLgV4M/k+/HzVSqT8H0= +github.com/go-openapi/swag/netutils v0.25.4/go.mod h1:m2W8dtdaoX7oj9rEttLyTeEFFEBvnAx9qHd5nJEBzYg= +github.com/go-openapi/swag/stringutils v0.25.4 h1:O6dU1Rd8bej4HPA3/CLPciNBBDwZj9HiEpdVsb8B5A8= +github.com/go-openapi/swag/stringutils v0.25.4/go.mod h1:GTsRvhJW5xM5gkgiFe0fV3PUlFm0dr8vki6/VSRaZK0= +github.com/go-openapi/swag/typeutils v0.25.4 h1:1/fbZOUN472NTc39zpa+YGHn3jzHWhv42wAJSN91wRw= +github.com/go-openapi/swag/typeutils v0.25.4/go.mod h1:Ou7g//Wx8tTLS9vG0UmzfCsjZjKhpjxayRKTHXf2pTE= +github.com/go-openapi/swag/yamlutils v0.25.4 h1:6jdaeSItEUb7ioS9lFoCZ65Cne1/RZtPBZ9A56h92Sw= +github.com/go-openapi/swag/yamlutils v0.25.4/go.mod h1:MNzq1ulQu+yd8Kl7wPOut/YHAAU/H6hL91fF+E2RFwc= +github.com/go-openapi/testify/enable/yaml/v2 v2.0.2 h1:0+Y41Pz1NkbTHz8NngxTuAXxEodtNSI1WG1c/m5Akw4= +github.com/go-openapi/testify/enable/yaml/v2 v2.0.2/go.mod h1:kme83333GCtJQHXQ8UKX3IBZu6z8T5Dvy5+CW3NLUUg= +github.com/go-openapi/testify/v2 v2.0.2 h1:X999g3jeLcoY8qctY/c/Z8iBHTbwLz7R2WXd6Ub6wls= +github.com/go-openapi/testify/v2 v2.0.2/go.mod h1:HCPmvFFnheKK2BuwSA0TbbdxJ3I16pjwMkYkP4Ywn54= github.com/go-task/slim-sprig/v3 v3.0.0 h1:sUs3vkvUymDpBKi3qH1YSqBQk9+9D/8M2mN1vB6EwHI= github.com/go-task/slim-sprig/v3 v3.0.0/go.mod h1:W848ghGpv3Qj3dhTPRyJypKRiqCdHZiAzKg9hl15HA8= github.com/goccy/go-yaml v1.18.0 h1:8W7wMFS12Pcas7KU+VVkaiCng+kG8QiFeFwzFb+rwuw= @@ -40,21 +65,14 @@ github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/jinzhu/copier v0.4.0 h1:w3ciUoD19shMCRargcpm0cm91ytaBhDvuRpz1ODO/U8= github.com/jinzhu/copier v0.4.0/go.mod h1:DfbEm0FYsaqBcKcFuvmOZb218JkPGtvSHsKg8S8hyyg= -github.com/josharian/intern v1.0.0 h1:vlS4z54oSdjm0bgjRigI+G1HpF+tI+9rE5LLzOg8HmY= -github.com/josharian/intern v1.0.0/go.mod h1:5DoeVV0s6jJacbCEi61lwdGj/aVlrQvzHFFd8Hwg//Y= github.com/joshdk/go-junit v1.0.0 h1:S86cUKIdwBHWwA6xCmFlf3RTLfVXYQfvanM5Uh+K6GE= github.com/joshdk/go-junit v1.0.0/go.mod h1:TiiV0PqkaNfFXjEiyjWM3XXrhVyCa1K4Zfga6W52ung= github.com/json-iterator/go v1.1.12 h1:PV8peI4a0ysnczrg+LtxykD8LfKY9ML6u2jnxaEnrnM= github.com/json-iterator/go v1.1.12/go.mod h1:e30LSqwooZae/UwlEbR2852Gd8hjQvJoHmT4TnhNGBo= -github.com/kr/pretty v0.2.1/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE= github.com/kr/pretty v0.3.1/go.mod h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk= -github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= -github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= -github.com/mailru/easyjson v0.7.7 h1:UGYAvKxe3sBsEDzO8ZeWOSlIQfWFlxbzLZe7hwFURr0= -github.com/mailru/easyjson v0.7.7/go.mod h1:xzfreul335JAWq5oZzymOObrkdz5UnU4kGfJJLY9Nlc= github.com/maruel/natural v1.1.1 h1:Hja7XhhmvEFhcByqDoHz9QZbkWey+COd9xWfCfn1ioo= github.com/maruel/natural v1.1.1/go.mod h1:v+Rfd79xlw1AgVBjbO0BEQmptqb5HvL/k9GRHB7ZKEg= github.com/mfridman/tparse v0.18.0 h1:wh6dzOKaIwkUGyKgOntDW4liXSo37qg5AXbIhkMV3vE= @@ -76,17 +94,12 @@ github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 h1:Jamvg5psRI github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/rogpeppe/go-internal v1.14.1 h1:UQB4HGPB6osV0SQTLymcB4TgvyWu6ZyliaW0tI/otEQ= github.com/rogpeppe/go-internal v1.14.1/go.mod h1:MaRKkUm5W0goXpeCfT7UZI6fk/L7L7so1lCWt35ZSgc= -github.com/spf13/pflag v1.0.9 h1:9exaQaMOCwffKiiiYk6/BndUBv+iRViNW+4lEMi0PvY= -github.com/spf13/pflag v1.0.9/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= +github.com/spf13/pflag v1.0.10 h1:4EBh2KAYBwaONj6b2Ye1GiHfwjqyROoF4RwYO+vPwFk= +github.com/spf13/pflag v1.0.10/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw= -github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo= -github.com/stretchr/objx v0.5.2 h1:xuMeJ0Sdp5ZMRXx/aWO6RZxdr3beISkG5/G/aIRr3pY= -github.com/stretchr/objx v0.5.2/go.mod h1:FRsXN1f5AsAjCGJKqEizvkpNtU+EGNCLh3NxZ/8L+MA= +github.com/stretchr/objx v0.5.3 h1:jmXUvGomnU1o3W/V5h2VEradbpJDwGrzugQQvL0POH4= +github.com/stretchr/objx v0.5.3/go.mod h1:rDQraq+vQZU7Fde9LOZLr8Tax6zZvy4kuNKF+QYS+U0= github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= -github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= -github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= -github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= github.com/stretchr/testify v1.11.1 h1:7s2iGBzp5EwR7/aIZr8ao5+dra3wiQyKjjFuvgVKu7U= github.com/stretchr/testify v1.11.1/go.mod h1:wZwfW3scLgRK+23gO65QZefKpKQRnfz6sD981Nm4B6U= github.com/tidwall/gjson v1.18.0 h1:FIDeeyB800efLX89e5a8Y0BNH+LOngJyGrIWxG2FKQY= @@ -101,28 +114,28 @@ github.com/x448/float16 v0.8.4 h1:qLwI1I70+NjRFUR3zs1JPUCgaCXSh3SW62uAKT1mSBM= github.com/x448/float16 v0.8.4/go.mod h1:14CWIYCyZA/cWjXOioeEpHeN/83MdbZDRQHoFcYsOfg= go.uber.org/goleak v1.3.0 h1:2K3zAYmnTNqV73imy9J1T3WC+gmCePx2hEGkimedGto= go.uber.org/goleak v1.3.0/go.mod h1:CoHD4mav9JJNrW/WLlf7HGZPjdw8EucARQHekz1X6bE= -go.yaml.in/yaml/v2 v2.4.3 h1:6gvOSjQoTB3vt1l+CU+tSyi/HOjfOjRLJ4YwYZGwRO0= -go.yaml.in/yaml/v2 v2.4.3/go.mod h1:zSxWcmIDjOzPXpjlTTbAsKokqkDNAVtZO0WOMiT90s8= +go.yaml.in/yaml/v2 v2.4.4 h1:tuyd0P+2Ont/d6e2rl3be67goVK4R6deVxCUX5vyPaQ= +go.yaml.in/yaml/v2 v2.4.4/go.mod h1:gMZqIpDtDqOfM0uNfy0SkpRhvUryYH0Z6wdMYcacYXQ= go.yaml.in/yaml/v3 v3.0.4 h1:tfq32ie2Jv2UxXFdLJdh3jXuOzWiL1fo0bu/FbuKpbc= go.yaml.in/yaml/v3 v3.0.4/go.mod h1:DhzuOOF2ATzADvBadXxruRBLzYTpT36CKvDb3+aBEFg= -golang.org/x/mod v0.37.0 h1:vF1DjpVEshcIqoEaauuHebaLk1O1forxjxBaVn884JQ= -golang.org/x/mod v0.37.0/go.mod h1:m8S8VeM9r4dzDwjrKO0a1sZP3YjeMamRRlD+fmR2Q/0= -golang.org/x/net v0.56.0 h1:Rw8j/hFzGvJUZwNBXnAtf5sVDVt+65SK2C7IxCxZt5o= -golang.org/x/net v0.56.0/go.mod h1:D3Ku6r+V6JROoZK144D2XfMHFcMq/0zSfLelVTCFKec= +golang.org/x/mod v0.38.0 h1:MECBjubtXD7yj4HrhIUcywNaGeNVUdfVnxmPajOk4yk= +golang.org/x/mod v0.38.0/go.mod h1:V6Xz0pq8TQ3dGqVQ1FVHuelZpAL0uNhSkk9ogYP3c40= +golang.org/x/net v0.57.0 h1:K5+3DljvIuDG9/Jv9rvyMywYNFCQ9RSUY6OOTTkT+tE= +golang.org/x/net v0.57.0/go.mod h1:KpXc8iv+r3XplLAG/f7Jsf9RPszJzdR0f58q9vGOuEU= golang.org/x/oauth2 v0.36.0 h1:peZ/1z27fi9hUOFCAZaHyrpWG5lwe0RJEEEeH0ThlIs= golang.org/x/oauth2 v0.36.0/go.mod h1:YDBUJMTkDnJS+A4BP4eZBjCqtokkg1hODuPjwiGPO7Q= -golang.org/x/sync v0.21.0 h1:HLII4xRRTtCRkxYp4HNFF0Js/Og6q2i++KXbg0gHCwM= -golang.org/x/sync v0.21.0/go.mod h1:9xrNwdLfx4jkKbNva9FpL6vEN7evnE43NNNJQ2LF3+0= -golang.org/x/sys v0.46.0 h1:noSf2Fq6F8DBgS+LysIkx7rIExoNHJsxOAtPp4rthXw= -golang.org/x/sys v0.46.0/go.mod h1:4GL1E5IUh+htKOUEOaiffhrAeqysfVGipDYzABqnCmw= -golang.org/x/term v0.44.0 h1:0rLvDRCtNj0gZkyIXhCyOb2OAzEhLVqc4B+hrsBhrmc= -golang.org/x/term v0.44.0/go.mod h1:7ze4MdzUzLXpSAoFP1H0bOI9aXDqveSvatT5vKcFh2Y= -golang.org/x/text v0.38.0 h1:sXmwo9DwP3OK9EZ7PqAdaooSGozfl/3a6/xJcbzPRhE= -golang.org/x/text v0.38.0/go.mod h1:YXZt3QhHUKYT53r2lLKFIVi6Ao1jdzrTR/KQ09qyxF4= +golang.org/x/sync v0.22.0 h1:SZjpbeLmrCk4xhRSZFNZW5gFUeCeFgjekvI/+gfScek= +golang.org/x/sync v0.22.0/go.mod h1:9xrNwdLfx4jkKbNva9FpL6vEN7evnE43NNNJQ2LF3+0= +golang.org/x/sys v0.47.0 h1:o7XGOvZQCADBQQ4Y7VNq2dRWQR7JmOUW8Kxx4ZsNgWs= +golang.org/x/sys v0.47.0/go.mod h1:4GL1E5IUh+htKOUEOaiffhrAeqysfVGipDYzABqnCmw= +golang.org/x/term v0.45.0 h1:NwWyBmoJCbfTHpxrWoZ9C6/VxOf7ic219I8xZZFdrf0= +golang.org/x/term v0.45.0/go.mod h1:9aqxs0blBcrm/n0L9QW0aRVD+ktan8ssZromtqJC43w= +golang.org/x/text v0.40.0 h1:Ub2Z6/xjgF1WrYQz2nuITOEegKFtiIy+rieRJ5lHZKs= +golang.org/x/text v0.40.0/go.mod h1:hpnzDAfGV753zIKo+wk3u1bVKCGPbrnF7+7LBF/UHVY= golang.org/x/time v0.15.0 h1:bbrp8t3bGUeFOx08pvsMYRTCVSMk89u4tKbNOZbp88U= golang.org/x/time v0.15.0/go.mod h1:Y4YMaQmXwGQZoFaVFk4YpCt4FLQMYKZe9oeV/f4MSno= -golang.org/x/tools v0.47.0 h1:7Kn5x/d1svx/PzryTsqeoZN4TZwqeH5pGWjefhLi/1Q= -golang.org/x/tools v0.47.0/go.mod h1:dFHnyTvFWY212G+h7ZY4Vsp/K3U4/7W9TyVaAul8uCA= +golang.org/x/tools v0.48.0 h1:3+hClM1aLL5mjMKm5ovokw9epgRXPuu2tILgismM6RE= +golang.org/x/tools v0.48.0/go.mod h1:08xX0orndb/F7jJxGDicx061tyd5pcMto75YMAXr6lk= google.golang.org/protobuf v1.36.12-0.20260120151049-f2248ac996af h1:+5/Sw3GsDNlEmu7TfklWKPdQ0Ykja5VEmq2i817+jbI= google.golang.org/protobuf v1.36.12-0.20260120151049-f2248ac996af/go.mod h1:HTf+CrKn2C3g5S8VImy6tdcUvCska2kB7j23XfzDpco= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= @@ -132,28 +145,27 @@ gopkg.in/evanphx/json-patch.v4 v4.13.0 h1:czT3CmqEaQ1aanPc5SdlgQrrEIb8w/wwCvWWnf gopkg.in/evanphx/json-patch.v4 v4.13.0/go.mod h1:p8EYWUEYMpynmqDbY58zCKCFZw8pRWMG4EsWvDvM72M= gopkg.in/inf.v0 v0.9.1 h1:73M5CoZyi3ZLMOyDlQh031Cx6N9NDJ2Vvfl76EDAgDc= gopkg.in/inf.v0 v0.9.1/go.mod h1:cWUDdTG/fYaXco+Dcufb5Vnc6Gp2YChqWtbxRZE0mXw= -gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -k8s.io/api v0.36.2 h1:TF6YDLIzKfccK7cq9YpTcGX8TJmEkHVRv78DM51fRYY= -k8s.io/api v0.36.2/go.mod h1:F4LbMO4brjZYh7yFkXWhynSvtB7YauxV4c+HHkNRGNg= -k8s.io/apiextensions-apiserver v0.36.2 h1:3O5gqOj/dt2XWWbpMe+TXWpE9yU6pjM/tXxtHHJT/K4= -k8s.io/apiextensions-apiserver v0.36.2/go.mod h1:cL1tBWe8XSaP1H30iWKGo7hf6iAUUUJPEU70dskmAnA= -k8s.io/apimachinery v0.36.2 h1:0PE/W/WNy1UX61NLbXY5TMbJ6UwLL6E6lAPkYrKFxbQ= -k8s.io/apimachinery v0.36.2/go.mod h1:fvf/HOLXq9RId0rnDIbN1OEBvHXdQbLMM8nu0LcBUf4= -k8s.io/client-go v0.36.2 h1:bfgxmFKc9CgqsgX4xKLAAdmTQlWee7Ob/HlDOrJ5TBI= -k8s.io/client-go v0.36.2/go.mod h1:1vgO4OAlfPnoLcb+Rze2GF5rAr14w8qjrYMoyXJzQj0= +k8s.io/api v0.37.0-beta.0 h1:5OA+YtMLhsSsrBVGwD24bMElfe8pm3DHjoLt9XyNYI0= +k8s.io/api v0.37.0-beta.0/go.mod h1:aIaUwCd8eIILpyYn1h5+O188xbEz4A3MMXZfzOrVMYg= +k8s.io/apiextensions-apiserver v0.37.0-beta.0 h1:X2QPzxF70JyM9osSanu5GWcIk3+R/S14+S6X3/m9gXs= +k8s.io/apiextensions-apiserver v0.37.0-beta.0/go.mod h1:T0tiCaHOXqTp1CHkjppQO7BYJGAyv9pAcvml+EhRnXI= +k8s.io/apimachinery v0.37.0-beta.0 h1:AgONL5RlVP+UzEzmDx1R2RHd/lp6YJ2QS9AHD92dTFI= +k8s.io/apimachinery v0.37.0-beta.0/go.mod h1:RLRmd2kYSdlBaTwCmVbVETZqxaNoqGWOF0S0SG/gThg= +k8s.io/client-go v0.37.0-beta.0 h1:WfKGOp3Ai9fCvZlS4HaBxgpyPMMKaX6fKya2WM3xmq8= +k8s.io/client-go v0.37.0-beta.0/go.mod h1:4ftZEJQaLYQOzc78hg8y7IzGyivzZ2ICL3qOZ7rDxzg= k8s.io/klog/v2 v2.140.0 h1:Tf+J3AH7xnUzZyVVXhTgGhEKnFqye14aadWv7bzXdzc= k8s.io/klog/v2 v2.140.0/go.mod h1:o+/RWfJ6PwpnFn7OyAG3QnO47BFsymfEfrz6XyYSSp0= -k8s.io/kube-openapi v0.0.0-20260317180543-43fb72c5454a h1:xCeOEAOoGYl2jnJoHkC3hkbPJgdATINPMAxaynU2Ovg= -k8s.io/kube-openapi v0.0.0-20260317180543-43fb72c5454a/go.mod h1:uGBT7iTA6c6MvqUvSXIaYZo9ukscABYi2btjhvgKGZ0= -k8s.io/utils v0.0.0-20260210185600-b8788abfbbc2 h1:AZYQSJemyQB5eRxqcPky+/7EdBj0xi3g0ZcxxJ7vbWU= -k8s.io/utils v0.0.0-20260210185600-b8788abfbbc2/go.mod h1:xDxuJ0whA3d0I4mf/C4ppKHxXynQ+fxnkmQH0vTHnuk= +k8s.io/kube-openapi v0.0.0-20260618221249-bc653b64f974 h1:JVogoTvOj6gutlx8bUwGh0e8o8L4X8nDbTLyONmoVvk= +k8s.io/kube-openapi v0.0.0-20260618221249-bc653b64f974/go.mod h1:V/QaCUYDa+0QpcHhVVc5l99Uz56wEMEXBSj9oCDkNDY= +k8s.io/utils v0.0.0-20260626114624-be93311217bd h1:Ea7fgQ5we8Y9T0OX5o0dAHzQOBRI07D/dEYRaB9ZZEs= +k8s.io/utils v0.0.0-20260626114624-be93311217bd/go.mod h1:xDxuJ0whA3d0I4mf/C4ppKHxXynQ+fxnkmQH0vTHnuk= sigs.k8s.io/json v0.0.0-20250730193827-2d320260d730 h1:IpInykpT6ceI+QxKBbEflcR5EXP7sU1kvOlxwZh5txg= sigs.k8s.io/json v0.0.0-20250730193827-2d320260d730/go.mod h1:mdzfpAEoE6DHQEN0uh9ZbOCuHbLK5wOm7dK4ctXE9Tg= sigs.k8s.io/randfill v1.0.0 h1:JfjMILfT8A6RbawdsK2JXGBR5AQVfd+9TbzrlneTyrU= sigs.k8s.io/randfill v1.0.0/go.mod h1:XeLlZ/jmk4i1HRopwe7/aU3H5n1zNUcX6TM94b3QxOY= -sigs.k8s.io/structured-merge-diff/v6 v6.4.0 h1:qmp2e3ZfFi1/jJbDGpD4mt3wyp6PE1NfKHCYLqgNQJo= -sigs.k8s.io/structured-merge-diff/v6 v6.4.0/go.mod h1:M3W8sfWvn2HhQDIbGWj3S099YozAsymCo/wrT5ohRUE= +sigs.k8s.io/structured-merge-diff/v6 v6.4.2 h1:qdOxHwrl2Kaag1aQEarlYcOA9vSyGCp3CIki3aW8c4Q= +sigs.k8s.io/structured-merge-diff/v6 v6.4.2/go.mod h1:M3W8sfWvn2HhQDIbGWj3S099YozAsymCo/wrT5ohRUE= sigs.k8s.io/yaml v1.6.0 h1:G8fkbMSAFqgEFgh4b1wmtzDnioxFCUgTZhlbj5P9QYs= sigs.k8s.io/yaml v1.6.0/go.mod h1:796bPqUfzR/0jLAl6XjHl3Ck7MiyVv8dbTdyT3/pMf4= diff --git a/hack/openapi-violations-known.list b/hack/openapi-violations-known.list index 259361c74..871df99d6 100644 --- a/hack/openapi-violations-known.list +++ b/hack/openapi-violations-known.list @@ -14,6 +14,8 @@ API rule violation: names_match,github.com/projectcalico/api/pkg/apis/projectcal API rule violation: names_match,github.com/projectcalico/api/pkg/apis/projectcalico/v3,FelixConfigurationSpec,IPv6ElevatedRoutePriority API rule violation: names_match,github.com/projectcalico/api/pkg/apis/projectcalico/v3,FelixConfigurationSpec,IPv6NormalRoutePriority API rule violation: names_match,github.com/projectcalico/api/pkg/apis/projectcalico/v3,FelixConfigurationSpec,IPv6Support +API rule violation: names_match,github.com/projectcalico/api/pkg/apis/projectcalico/v3,FelixConfigurationSpec,NFTablesFlowTableDataIfacePattern +API rule violation: names_match,github.com/projectcalico/api/pkg/apis/projectcalico/v3,FelixConfigurationSpec,NFTablesFlowTableOffload API rule violation: names_match,github.com/projectcalico/api/pkg/apis/projectcalico/v3,FelixConfigurationSpec,NFTablesMode API rule violation: names_match,github.com/projectcalico/api/pkg/apis/projectcalico/v3,FelixConfigurationSpec,WireguardPersistentKeepAlive API rule violation: names_match,github.com/projectcalico/api/pkg/apis/projectcalico/v3,IPAMBlockSpec,DeprecatedStrictAffinity diff --git a/lib.Makefile b/lib.Makefile index 14e68c4cf..b2372381e 100644 --- a/lib.Makefile +++ b/lib.Makefile @@ -319,6 +319,13 @@ EXTRA_DOCKER_ARGS += -v $(GOMOD_CACHE):/go/pkg/mod:rw # DOCKER_CPUSET_CPUS=0-3 Pin container to specific cores (true affinity). # GOMAXPROCS=N Cap goroutine parallelism inside each go invocation # (linker, vet, etc.); complements -p=N from GOFLAGS. +# DOCKER_MEMORY=8g Hard cap on container memory. The kernel OOM-kills +# the container at this limit, so a runaway compile or +# link fails the build ("signal: killed") rather than +# driving the whole host into swap thrash. +# DOCKER_MEMORY_SWAP=8g Cap on memory+swap combined (requires DOCKER_MEMORY). +# Must be >= DOCKER_MEMORY or -1; defaults to DOCKER_MEMORY +# (denies container swap entirely, keeps it off host swap). ifneq ($(DOCKER_CPUS),) EXTRA_DOCKER_ARGS += --cpus=$(DOCKER_CPUS) endif @@ -328,6 +335,9 @@ endif ifneq ($(GOMAXPROCS),) EXTRA_DOCKER_ARGS += -e GOMAXPROCS=$(GOMAXPROCS) endif +ifneq ($(DOCKER_MEMORY),) +EXTRA_DOCKER_ARGS += --memory=$(DOCKER_MEMORY) --memory-swap=$(if $(DOCKER_MEMORY_SWAP),$(DOCKER_MEMORY_SWAP),$(DOCKER_MEMORY)) +endif # Define go architecture flags GOARCH_FLAGS :=-e GOARCH=$(ARCH) @@ -1661,6 +1671,9 @@ endif touch $@ kind-cluster-destroy kind-down: $(KIND) $(KUBECTL) + # Tear down the e2e external node (if any) alongside the cluster. Idempotent + # and a no-op when no external node was created (e.g. non-BPF jobs). + -$(KIND_DIR)/external-node.sh down # We need to drain the cluster gracefully when shutting down to avoid a netdev unregister error from the kernel. # This requires we execute CNI del on pods with pod networking. -$(KIND) delete cluster --name $(KIND_NAME) @@ -1872,24 +1885,59 @@ kind-reload: ############################################################################### ENVTEST_DIR := $(REPO_ROOT)/hack/test/envtest ENVTEST_CONTAINER_DIR := /go/src/github.com/projectcalico/calico/hack/test/envtest -# Derive major.minor from K8S_VERSION (e.g. v1.34.3 -> 1.34.x) for setup-envtest. -# Envtest publishes binaries per minor version, not per patch, so we use a wildcard. -# Skip on Windows: envtest is Linux-only test infra; bash sed/cut would error otherwise. +# Pick the envtest k8s version and how to fetch its binaries from K8S_VERSION. +# setup-envtest only publishes assets for RELEASED minors: +# - stable: setup-envtest with a major.minor.x wildcard (latest patch). +# - -beta/-rc pre-release: no upstream assets yet, so assemble the bundle from +# the release binaries (kube-apiserver+kubectl from dl.k8s.io, etcd from +# ETCD_VERSION). Self-reverts to setup-envtest once the minor GAs. +# -alpha is intentionally excluded (too unstable to pin); it fails loudly instead. +# Skip on Windows: envtest is Linux-only; bash sed/cut would error there. ifneq ($(OS),Windows_NT) +ifneq ($(or $(findstring -beta,$(K8S_VERSION)),$(findstring -rc,$(K8S_VERSION))),) +ENVTEST_K8S_VERSION ?= $(K8S_VERSION:v%=%) +ENVTEST_K8S_PRERELEASE := true +else ENVTEST_K8S_VERSION ?= $(shell echo $(K8S_VERSION) | sed 's/^v//' | cut -d. -f1,2).x endif +endif ENVTEST_ASSETS_MARKER := $(ENVTEST_DIR)/.envtest-$(ENVTEST_K8S_VERSION) -## Download envtest binaries (kube-apiserver, etcd) for use by tests that use controller-runtime envtest. +## Download envtest binaries (kube-apiserver, etcd, kubectl) for use by tests that use controller-runtime envtest. .PHONY: setup-envtest setup-envtest: $(ENVTEST_ASSETS_MARKER) $(ENVTEST_ASSETS_MARKER): @echo "Setting up envtest binaries for Kubernetes $(ENVTEST_K8S_VERSION)..." mkdir -p $(ENVTEST_DIR) rm -f $(ENVTEST_DIR)/.envtest-* +ifeq ($(ENVTEST_K8S_PRERELEASE),true) + # No upstream kubebuilder-tools release exists for a pre-release k8s, so build + # the bundle in the same layout the consumers glob: k8s/--/. + # Each downloaded binary is sha256-verified against its published checksum + # (dl.k8s.io .sha256 for the k8s binaries; the etcd release SHA256SUMS). + $(DOCKER_GO_BUILD) sh -c 'set -e; \ + base=https://dl.k8s.io/release/$(K8S_VERSION)/bin/$(BUILDOS)/$(BUILDARCH); \ + d=$(ENVTEST_CONTAINER_DIR)/k8s/$(ENVTEST_K8S_VERSION)-$(BUILDOS)-$(BUILDARCH); \ + mkdir -p $$d; \ + for b in kube-apiserver kubectl; do \ + curl -fsSL --retry 5 -o $$d/$$b $$base/$$b; \ + curl -fsSL --retry 5 -o $$d/$$b.sha256 $$base/$$b.sha256; \ + echo "$$(cat $$d/$$b.sha256) $$d/$$b" | sha256sum -c -; \ + rm -f $$d/$$b.sha256; \ + done; \ + etcd_tgz=etcd-$(ETCD_VERSION)-$(BUILDOS)-$(BUILDARCH).tar.gz; \ + etcd_url=https://github.com/etcd-io/etcd/releases/download/$(ETCD_VERSION); \ + curl -fsSL --retry 5 -o /tmp/$$etcd_tgz $$etcd_url/$$etcd_tgz; \ + curl -fsSL --retry 5 -o /tmp/etcd.SHA256SUMS $$etcd_url/SHA256SUMS; \ + echo "$$(grep -F "$$etcd_tgz" /tmp/etcd.SHA256SUMS | cut -d" " -f1) /tmp/$$etcd_tgz" | sha256sum -c -; \ + tar -xzf /tmp/$$etcd_tgz -C /tmp; \ + mv /tmp/etcd-$(ETCD_VERSION)-$(BUILDOS)-$(BUILDARCH)/etcd $$d/etcd; \ + chmod +x $$d/kube-apiserver $$d/kubectl $$d/etcd' +else $(DOCKER_GO_BUILD) sh -c \ 'go run sigs.k8s.io/controller-runtime/tools/setup-envtest@latest \ use --bin-dir $(ENVTEST_CONTAINER_DIR) -p path $(ENVTEST_K8S_VERSION)' +endif touch $@ # Minimum supported Kubernetes version for CEL IP/CIDR library (available in 1.31+). diff --git a/metadata.mk b/metadata.mk index 227e0997b..8ce69008b 100644 --- a/metadata.mk +++ b/metadata.mk @@ -2,16 +2,16 @@ # This file contains Makefile configuration parameters and metadata for this branch. ################################################################################################# # The project Go version -GO_VERSION=1.26.4 +GO_VERSION=1.26.5 # Version of Kubernetes to use for dependencies, tests, registry.k8s.io/kubectl, and kubectl binary release. -K8S_VERSION=v1.36.2 +K8S_VERSION=v1.37.0-beta.0 # The version of LLVM to use for go-build and calico/base images. LLVM_VERSION=21.1.8 # Calico toolchain versions and the calico/base image to use. GO_BUILD_VER=$(GO_VERSION)-llvm$(LLVM_VERSION)-k8s$(K8S_VERSION:v%=%) RUST_BUILD_VER=1.96.0 -CALICO_BASE_VER=ubi9-1781722225 +CALICO_BASE_VER=ubi9-1783525764 # Version of various tools used in the build and tests. COREDNS_VERSION=1.5.2 diff --git a/pkg/apis/projectcalico/v3/felixconfig.go b/pkg/apis/projectcalico/v3/felixconfig.go index 437a5ac8c..9f4327113 100644 --- a/pkg/apis/projectcalico/v3/felixconfig.go +++ b/pkg/apis/projectcalico/v3/felixconfig.go @@ -70,6 +70,18 @@ const ( NFTablesModeAuto NFTablesMode = "Auto" ) +// NFTablesFlowTableOffload controls which traffic nftables flowtable offload is enabled for. When +// set to "All", established connections that have been accepted by Calico policy are offloaded to +// the kernel's flowtable fast path, bypassing most of the networking stack for improved throughput. +// +enum +// +kubebuilder:validation:Enum=All;Disabled +type NFTablesFlowTableOffload string + +const ( + NFTablesFlowTableOffloadAll NFTablesFlowTableOffload = "All" + NFTablesFlowTableOffloadDisabled NFTablesFlowTableOffload = "Disabled" +) + // +kubebuilder:validation:Enum=DoNothing;Enable;Disable type AWSSrcDstCheckOption string @@ -120,6 +132,14 @@ const ( BPFConnectTimeLBDisabled BPFConnectTimeLBType = "Disabled" ) +// +kubebuilder:validation:Enum=TunnelAddress;HostAddress +type BPFOverlayHostSourceIPType string + +const ( + BPFOverlayHostSourceIPTunnelAddress BPFOverlayHostSourceIPType = "TunnelAddress" + BPFOverlayHostSourceIPHostAddress BPFOverlayHostSourceIPType = "HostAddress" +) + // +kubebuilder:validation:Enum=Auto;Userspace;BPFProgram type BPFConntrackMode string @@ -161,7 +181,7 @@ const ( NATOutgoingExclusionsIPPoolsAndHostIPs NATOutgoingExclusionsType = "IPPoolsAndHostIPs" ) -// +kubebuilder:validation:enum=RequireAndVerifyClientCert;RequireAnyClientCert;VerifyClientCertIfGiven;NoClientCert +// +kubebuilder:validation:Enum=RequireAndVerifyClientCert;RequireAnyClientCert;VerifyClientCertIfGiven;NoClientCert type PrometheusMetricsClientAuthType string const ( @@ -525,7 +545,7 @@ type FelixConfigurationSpec struct { PrometheusMetricsKeyFile *string `json:"prometheusMetricsKeyFile,omitempty"` // PrometheusMetricsClientAuth specifies the client authentication type for the /metrics endpoint. - // This determines how the server validates client certificates. Default is "RequireAndVerifyClientCert". + // This determines how the server validates client certificates. Default is "NoClientCert". PrometheusMetricsClientAuth *PrometheusMetricsClientAuthType `json:"prometheusMetricsClientAuth,omitempty" validate:"omitempty,oneof=RequireAndVerifyClientCert RequireAnyClientCert VerifyClientCertIfGiven NoClientCert"` // FailsafeInboundHostPorts is a list of ProtoPort struct objects including UDP/TCP/SCTP ports and CIDRs that Felix will @@ -674,10 +694,26 @@ type FelixConfigurationSpec struct { // iptables. [Default: false] GenericXDPEnabled *bool `json:"genericXDPEnabled,omitempty" confignamev1:"GenericXDPEnabled"` - // NFTablesMode configures nftables support in Felix. [Default: Auto] + // NFTablesMode configures nftables support in Felix. In Auto mode, Felix uses the + // nftables dataplane if kube-proxy is detected to be running in nftables mode. + // [Default: Auto] // +kubebuilder:default=Auto NFTablesMode *NFTablesMode `json:"nftablesMode,omitempty"` + // NFTablesFlowTableOffload controls which traffic nftables flowtable offload is enabled for, + // for improved forwarding performance. When set to "All", established connections accepted by + // Calico policy are offloaded to the kernel's flowtable fast path. Only applies when + // nftables mode is active. [Default: Disabled] + // +kubebuilder:default=Disabled + NFTablesFlowTableOffload *NFTablesFlowTableOffload `json:"nftablesFlowTableOffload,omitempty"` + + // NFTablesFlowTableDataIfacePattern is a regular expression that controls which host + // interfaces are added to the nftables flowtable, so that traffic forwarded between those + // interfaces and local workloads is offloaded to the flowtable fast path. Leave empty to + // offload only workload-to-workload traffic. Only takes effect when NFTablesFlowTableOffload + // is not Disabled. [Default: ""] + NFTablesFlowTableDataIfacePattern string `json:"nftablesFlowTableDataIfacePattern,omitempty" validate:"omitempty,regexp"` + // NftablesRefreshInterval controls the interval at which Felix periodically refreshes the nftables rules. [Default: 90s] NftablesRefreshInterval *metav1.Duration `json:"nftablesRefreshInterval,omitempty" configv1timescale:"seconds"` @@ -708,6 +744,14 @@ type FelixConfigurationSpec struct { // BPFEnabled, if enabled Felix will use the BPF dataplane. [Default: false] BPFEnabled *bool `json:"bpfEnabled,omitempty" validate:"omitempty"` + // BPFOverlayHostSourceIP controls the source IP that Felix uses in BPF mode for host-networked + // (node-originated) traffic egressing over an IPIP/VXLAN overlay tunnel. "TunnelAddress" (the default) + // assigns an IP address to the overlay tunnel device and uses it as the source, preserving the behaviour + // of clusters upgraded from earlier releases. "HostAddress" uses the node's own IP directly and does not + // assign a tunnel device IP. This option has no effect on WireGuard tunnels, which always use a tunnel + // device IP. [Default: TunnelAddress] + BPFOverlayHostSourceIP *BPFOverlayHostSourceIPType `json:"bpfOverlayHostSourceIP,omitempty" validate:"omitempty,oneof=TunnelAddress HostAddress"` + // BPFDisableUnprivileged, if enabled, Felix sets the kernel.unprivileged_bpf_disabled sysctl to disable // unprivileged use of BPF. This ensures that unprivileged users cannot access Calico's BPF maps and // cannot insert their own BPF programs to interfere with Calico's. [Default: true] @@ -716,7 +760,6 @@ type FelixConfigurationSpec struct { // BPFJITHardening controls BPF JIT hardening. When set to "Auto", Felix will set JIT hardening to 1 // if it detects the current value is 2 (strict mode that hurts performance). When set to "Strict", // Felix will not modify the JIT hardening setting. [Default: Auto] - // +kubebuilder:validation:Enum=Auto;Strict BPFJITHardening *BPFJITHardeningType `json:"bpfJITHardening,omitempty" validate:"omitempty,oneof=Auto Strict"` // BPFLogLevel controls the log level of the BPF programs when in BPF dataplane mode. One of "Off", "Info", or diff --git a/pkg/apis/projectcalico/v3/ipreservation.go b/pkg/apis/projectcalico/v3/ipreservation.go index 994911770..6a39a0a65 100644 --- a/pkg/apis/projectcalico/v3/ipreservation.go +++ b/pkg/apis/projectcalico/v3/ipreservation.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017, 2021 Tigera, Inc. All rights reserved. +// Copyright (c) 2017-2026 Tigera, Inc. All rights reserved. // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -57,7 +57,7 @@ type IPReservationSpec struct { // ReservedCIDRs is a list of CIDRs that Calico IPAM will exclude from new allocations. // Each entry must be in CIDR notation (e.g., "10.0.0.0/24" or "10.0.0.1/32" for a single IP). // +listType=set - // +kubebuilder:validation:Format=cidr + // +kubebuilder:validation:items:Format=cidr ReservedCIDRs []string `json:"reservedCIDRs,omitempty" validate:"cidrs,omitempty"` } diff --git a/pkg/apis/projectcalico/v3/kubecontrollersconfig.go b/pkg/apis/projectcalico/v3/kubecontrollersconfig.go index b4da9dfbc..21c65bff3 100644 --- a/pkg/apis/projectcalico/v3/kubecontrollersconfig.go +++ b/pkg/apis/projectcalico/v3/kubecontrollersconfig.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020-2021 Tigera, Inc. All rights reserved. +// Copyright (c) 2020-2026 Tigera, Inc. All rights reserved. // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -155,7 +155,7 @@ type AutoHostEndpointConfig struct { // Templates contains definition for creating AutoHostEndpoints // +listType=atomic - Templates []Template `json:"templates,omitempty" validate:"omitempty"` + Templates []Template `json:"templates,omitempty" validate:"omitempty,dive"` } // DefaultHostEndpointMode controls whether a default host endpoint is created for each node. @@ -185,6 +185,9 @@ type Template struct { // Labels adds the specified labels to the generated AutoHostEndpoint, labels from node with the same name will be overwritten by values from the template label Labels map[string]string `json:"labels,omitempty" validate:"omitempty,labels"` + // Annotations adds the specified annotations to the generated AutoHostEndpoint. + Annotations map[string]string `json:"annotations,omitempty"` + // NodeSelector allows the AutoHostEndpoint to be created only for specific nodes NodeSelector string `json:"nodeSelector,omitempty" validate:"omitempty,selector"` } diff --git a/pkg/apis/projectcalico/v3/zz_generated.deepcopy.go b/pkg/apis/projectcalico/v3/zz_generated.deepcopy.go index bcfe9f256..eb8fd30a9 100644 --- a/pkg/apis/projectcalico/v3/zz_generated.deepcopy.go +++ b/pkg/apis/projectcalico/v3/zz_generated.deepcopy.go @@ -1728,6 +1728,11 @@ func (in *FelixConfigurationSpec) DeepCopyInto(out *FelixConfigurationSpec) { *out = new(NFTablesMode) **out = **in } + if in.NFTablesFlowTableOffload != nil { + in, out := &in.NFTablesFlowTableOffload, &out.NFTablesFlowTableOffload + *out = new(NFTablesFlowTableOffload) + **out = **in + } if in.NftablesRefreshInterval != nil { in, out := &in.NftablesRefreshInterval, &out.NftablesRefreshInterval *out = new(v1.Duration) @@ -1743,6 +1748,11 @@ func (in *FelixConfigurationSpec) DeepCopyInto(out *FelixConfigurationSpec) { *out = new(bool) **out = **in } + if in.BPFOverlayHostSourceIP != nil { + in, out := &in.BPFOverlayHostSourceIP, &out.BPFOverlayHostSourceIP + *out = new(BPFOverlayHostSourceIPType) + **out = **in + } if in.BPFDisableUnprivileged != nil { in, out := &in.BPFDisableUnprivileged, &out.BPFDisableUnprivileged *out = new(bool) @@ -4066,6 +4076,13 @@ func (in *Template) DeepCopyInto(out *Template) { (*out)[key] = val } } + if in.Annotations != nil { + in, out := &in.Annotations, &out.Annotations + *out = make(map[string]string, len(*in)) + for key, val := range *in { + (*out)[key] = val + } + } return } diff --git a/pkg/client/applyconfiguration_generated/internal/internal.go b/pkg/client/applyconfiguration_generated/internal/internal.go index 90c78b289..0cb6eab2f 100644 --- a/pkg/client/applyconfiguration_generated/internal/internal.go +++ b/pkg/client/applyconfiguration_generated/internal/internal.go @@ -963,6 +963,9 @@ var schemaYAML = typed.YAMLObject(`types: - name: bpfMapSizeRoute type: scalar: numeric + - name: bpfOverlayHostSourceIP + type: + scalar: string - name: bpfPSNATPorts type: namedType: com.github.projectcalico.api.pkg.lib.numorstring.Port @@ -1239,6 +1242,12 @@ var schemaYAML = typed.YAMLObject(`types: - name: nftablesFilterDenyAction type: scalar: string + - name: nftablesFlowTableDataIfacePattern + type: + scalar: string + - name: nftablesFlowTableOffload + type: + scalar: string - name: nftablesMangleAllowAction type: scalar: string @@ -2347,6 +2356,11 @@ var schemaYAML = typed.YAMLObject(`types: - name: com.github.projectcalico.api.pkg.apis.projectcalico.v3.Template map: fields: + - name: annotations + type: + map: + elementType: + scalar: string - name: generateName type: scalar: string diff --git a/pkg/client/applyconfiguration_generated/projectcalico/v3/bgpconfiguration.go b/pkg/client/applyconfiguration_generated/projectcalico/v3/bgpconfiguration.go index 1b4dc3834..fa977406b 100644 --- a/pkg/client/applyconfiguration_generated/projectcalico/v3/bgpconfiguration.go +++ b/pkg/client/applyconfiguration_generated/projectcalico/v3/bgpconfiguration.go @@ -16,7 +16,7 @@ import ( // BGPConfigurationApplyConfiguration represents a declarative configuration of the BGPConfiguration type for use // with apply. type BGPConfigurationApplyConfiguration struct { - v1.TypeMetaApplyConfiguration `json:",inline"` + v1.TypeMetaApplyConfiguration `json:""` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *BGPConfigurationSpecApplyConfiguration `json:"spec,omitempty"` } diff --git a/pkg/client/applyconfiguration_generated/projectcalico/v3/bgpfilter.go b/pkg/client/applyconfiguration_generated/projectcalico/v3/bgpfilter.go index 52c47d7bf..1a65ba64d 100644 --- a/pkg/client/applyconfiguration_generated/projectcalico/v3/bgpfilter.go +++ b/pkg/client/applyconfiguration_generated/projectcalico/v3/bgpfilter.go @@ -16,7 +16,7 @@ import ( // BGPFilterApplyConfiguration represents a declarative configuration of the BGPFilter type for use // with apply. type BGPFilterApplyConfiguration struct { - v1.TypeMetaApplyConfiguration `json:",inline"` + v1.TypeMetaApplyConfiguration `json:""` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *BGPFilterSpecApplyConfiguration `json:"spec,omitempty"` } diff --git a/pkg/client/applyconfiguration_generated/projectcalico/v3/bgppeer.go b/pkg/client/applyconfiguration_generated/projectcalico/v3/bgppeer.go index 8f8f5c13e..6d10de3de 100644 --- a/pkg/client/applyconfiguration_generated/projectcalico/v3/bgppeer.go +++ b/pkg/client/applyconfiguration_generated/projectcalico/v3/bgppeer.go @@ -16,7 +16,7 @@ import ( // BGPPeerApplyConfiguration represents a declarative configuration of the BGPPeer type for use // with apply. type BGPPeerApplyConfiguration struct { - v1.TypeMetaApplyConfiguration `json:",inline"` + v1.TypeMetaApplyConfiguration `json:""` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *BGPPeerSpecApplyConfiguration `json:"spec,omitempty"` } diff --git a/pkg/client/applyconfiguration_generated/projectcalico/v3/blockaffinity.go b/pkg/client/applyconfiguration_generated/projectcalico/v3/blockaffinity.go index cc03f8675..b0d7e7721 100644 --- a/pkg/client/applyconfiguration_generated/projectcalico/v3/blockaffinity.go +++ b/pkg/client/applyconfiguration_generated/projectcalico/v3/blockaffinity.go @@ -18,7 +18,7 @@ import ( // // BlockAffinity maintains a block affinity's state type BlockAffinityApplyConfiguration struct { - v1.TypeMetaApplyConfiguration `json:",inline"` + v1.TypeMetaApplyConfiguration `json:""` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *BlockAffinitySpecApplyConfiguration `json:"spec,omitempty"` } diff --git a/pkg/client/applyconfiguration_generated/projectcalico/v3/caliconodestatus.go b/pkg/client/applyconfiguration_generated/projectcalico/v3/caliconodestatus.go index f541eb118..13f8f9e7b 100644 --- a/pkg/client/applyconfiguration_generated/projectcalico/v3/caliconodestatus.go +++ b/pkg/client/applyconfiguration_generated/projectcalico/v3/caliconodestatus.go @@ -16,7 +16,7 @@ import ( // CalicoNodeStatusApplyConfiguration represents a declarative configuration of the CalicoNodeStatus type for use // with apply. type CalicoNodeStatusApplyConfiguration struct { - v1.TypeMetaApplyConfiguration `json:",inline"` + v1.TypeMetaApplyConfiguration `json:""` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *CalicoNodeStatusSpecApplyConfiguration `json:"spec,omitempty"` Status *CalicoNodeStatusStatusApplyConfiguration `json:"status,omitempty"` diff --git a/pkg/client/applyconfiguration_generated/projectcalico/v3/clusterinformation.go b/pkg/client/applyconfiguration_generated/projectcalico/v3/clusterinformation.go index 7cc1009fd..9cdec78a0 100644 --- a/pkg/client/applyconfiguration_generated/projectcalico/v3/clusterinformation.go +++ b/pkg/client/applyconfiguration_generated/projectcalico/v3/clusterinformation.go @@ -16,7 +16,7 @@ import ( // ClusterInformationApplyConfiguration represents a declarative configuration of the ClusterInformation type for use // with apply. type ClusterInformationApplyConfiguration struct { - v1.TypeMetaApplyConfiguration `json:",inline"` + v1.TypeMetaApplyConfiguration `json:""` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *ClusterInformationSpecApplyConfiguration `json:"spec,omitempty"` } diff --git a/pkg/client/applyconfiguration_generated/projectcalico/v3/felixconfiguration.go b/pkg/client/applyconfiguration_generated/projectcalico/v3/felixconfiguration.go index a975323fc..bda5cd394 100644 --- a/pkg/client/applyconfiguration_generated/projectcalico/v3/felixconfiguration.go +++ b/pkg/client/applyconfiguration_generated/projectcalico/v3/felixconfiguration.go @@ -16,7 +16,7 @@ import ( // FelixConfigurationApplyConfiguration represents a declarative configuration of the FelixConfiguration type for use // with apply. type FelixConfigurationApplyConfiguration struct { - v1.TypeMetaApplyConfiguration `json:",inline"` + v1.TypeMetaApplyConfiguration `json:""` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *FelixConfigurationSpecApplyConfiguration `json:"spec,omitempty"` } diff --git a/pkg/client/applyconfiguration_generated/projectcalico/v3/felixconfigurationspec.go b/pkg/client/applyconfiguration_generated/projectcalico/v3/felixconfigurationspec.go index 133b570a8..aa76dd684 100644 --- a/pkg/client/applyconfiguration_generated/projectcalico/v3/felixconfigurationspec.go +++ b/pkg/client/applyconfiguration_generated/projectcalico/v3/felixconfigurationspec.go @@ -254,7 +254,7 @@ type FelixConfigurationSpecApplyConfiguration struct { // used for securing the /metrics endpoint. The private key must be valid and accessible by the calico-node process. PrometheusMetricsKeyFile *string `json:"prometheusMetricsKeyFile,omitempty"` // PrometheusMetricsClientAuth specifies the client authentication type for the /metrics endpoint. - // This determines how the server validates client certificates. Default is "RequireAndVerifyClientCert". + // This determines how the server validates client certificates. Default is "NoClientCert". PrometheusMetricsClientAuth *projectcalicov3.PrometheusMetricsClientAuthType `json:"prometheusMetricsClientAuth,omitempty"` // FailsafeInboundHostPorts is a list of ProtoPort struct objects including UDP/TCP/SCTP ports and CIDRs that Felix will // allow incoming traffic to host endpoints on irrespective of the security policy. This is useful to avoid accidentally @@ -358,8 +358,21 @@ type FelixConfigurationSpecApplyConfiguration struct { // modes can use XDP. This is not recommended since it doesn't provide better performance than // iptables. [Default: false] GenericXDPEnabled *bool `json:"genericXDPEnabled,omitempty"` - // NFTablesMode configures nftables support in Felix. [Default: Auto] + // NFTablesMode configures nftables support in Felix. In Auto mode, Felix uses the + // nftables dataplane if kube-proxy is detected to be running in nftables mode. + // [Default: Auto] NFTablesMode *projectcalicov3.NFTablesMode `json:"nftablesMode,omitempty"` + // NFTablesFlowTableOffload controls which traffic nftables flowtable offload is enabled for, + // for improved forwarding performance. When set to "All", established connections accepted by + // Calico policy are offloaded to the kernel's flowtable fast path. Only applies when + // nftables mode is active. [Default: Disabled] + NFTablesFlowTableOffload *projectcalicov3.NFTablesFlowTableOffload `json:"nftablesFlowTableOffload,omitempty"` + // NFTablesFlowTableDataIfacePattern is a regular expression that controls which host + // interfaces are added to the nftables flowtable, so that traffic forwarded between those + // interfaces and local workloads is offloaded to the flowtable fast path. Leave empty to + // offload only workload-to-workload traffic. Only takes effect when NFTablesFlowTableOffload + // is not Disabled. [Default: ""] + NFTablesFlowTableDataIfacePattern *string `json:"nftablesFlowTableDataIfacePattern,omitempty"` // NftablesRefreshInterval controls the interval at which Felix periodically refreshes the nftables rules. [Default: 90s] NftablesRefreshInterval *v1.Duration `json:"nftablesRefreshInterval,omitempty"` // NftablesFilterAllowAction controls the nftables action that Felix uses to represent the "allow" policy verdict @@ -379,6 +392,13 @@ type FelixConfigurationSpecApplyConfiguration struct { NftablesMarkMask *int64 `json:"nftablesMarkMask,omitempty"` // BPFEnabled, if enabled Felix will use the BPF dataplane. [Default: false] BPFEnabled *bool `json:"bpfEnabled,omitempty"` + // BPFOverlayHostSourceIP controls the source IP that Felix uses in BPF mode for host-networked + // (node-originated) traffic egressing over an IPIP/VXLAN overlay tunnel. "TunnelAddress" (the default) + // assigns an IP address to the overlay tunnel device and uses it as the source, preserving the behaviour + // of clusters upgraded from earlier releases. "HostAddress" uses the node's own IP directly and does not + // assign a tunnel device IP. This option has no effect on WireGuard tunnels, which always use a tunnel + // device IP. [Default: TunnelAddress] + BPFOverlayHostSourceIP *projectcalicov3.BPFOverlayHostSourceIPType `json:"bpfOverlayHostSourceIP,omitempty"` // BPFDisableUnprivileged, if enabled, Felix sets the kernel.unprivileged_bpf_disabled sysctl to disable // unprivileged use of BPF. This ensures that unprivileged users cannot access Calico's BPF maps and // cannot insert their own BPF programs to interfere with Calico's. [Default: true] @@ -1531,6 +1551,22 @@ func (b *FelixConfigurationSpecApplyConfiguration) WithNFTablesMode(value projec return b } +// WithNFTablesFlowTableOffload sets the NFTablesFlowTableOffload field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the NFTablesFlowTableOffload field is set to the value of the last call. +func (b *FelixConfigurationSpecApplyConfiguration) WithNFTablesFlowTableOffload(value projectcalicov3.NFTablesFlowTableOffload) *FelixConfigurationSpecApplyConfiguration { + b.NFTablesFlowTableOffload = &value + return b +} + +// WithNFTablesFlowTableDataIfacePattern sets the NFTablesFlowTableDataIfacePattern field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the NFTablesFlowTableDataIfacePattern field is set to the value of the last call. +func (b *FelixConfigurationSpecApplyConfiguration) WithNFTablesFlowTableDataIfacePattern(value string) *FelixConfigurationSpecApplyConfiguration { + b.NFTablesFlowTableDataIfacePattern = &value + return b +} + // WithNftablesRefreshInterval sets the NftablesRefreshInterval field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. // If called multiple times, the NftablesRefreshInterval field is set to the value of the last call. @@ -1579,6 +1615,14 @@ func (b *FelixConfigurationSpecApplyConfiguration) WithBPFEnabled(value bool) *F return b } +// WithBPFOverlayHostSourceIP sets the BPFOverlayHostSourceIP field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the BPFOverlayHostSourceIP field is set to the value of the last call. +func (b *FelixConfigurationSpecApplyConfiguration) WithBPFOverlayHostSourceIP(value projectcalicov3.BPFOverlayHostSourceIPType) *FelixConfigurationSpecApplyConfiguration { + b.BPFOverlayHostSourceIP = &value + return b +} + // WithBPFDisableUnprivileged sets the BPFDisableUnprivileged field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. // If called multiple times, the BPFDisableUnprivileged field is set to the value of the last call. diff --git a/pkg/client/applyconfiguration_generated/projectcalico/v3/globalnetworkpolicy.go b/pkg/client/applyconfiguration_generated/projectcalico/v3/globalnetworkpolicy.go index db546dfe8..1d7e243b8 100644 --- a/pkg/client/applyconfiguration_generated/projectcalico/v3/globalnetworkpolicy.go +++ b/pkg/client/applyconfiguration_generated/projectcalico/v3/globalnetworkpolicy.go @@ -16,7 +16,7 @@ import ( // GlobalNetworkPolicyApplyConfiguration represents a declarative configuration of the GlobalNetworkPolicy type for use // with apply. type GlobalNetworkPolicyApplyConfiguration struct { - v1.TypeMetaApplyConfiguration `json:",inline"` + v1.TypeMetaApplyConfiguration `json:""` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *GlobalNetworkPolicySpecApplyConfiguration `json:"spec,omitempty"` } diff --git a/pkg/client/applyconfiguration_generated/projectcalico/v3/globalnetworkset.go b/pkg/client/applyconfiguration_generated/projectcalico/v3/globalnetworkset.go index 1b04e4d13..c80b3b3ef 100644 --- a/pkg/client/applyconfiguration_generated/projectcalico/v3/globalnetworkset.go +++ b/pkg/client/applyconfiguration_generated/projectcalico/v3/globalnetworkset.go @@ -16,7 +16,7 @@ import ( // GlobalNetworkSetApplyConfiguration represents a declarative configuration of the GlobalNetworkSet type for use // with apply. type GlobalNetworkSetApplyConfiguration struct { - v1.TypeMetaApplyConfiguration `json:",inline"` + v1.TypeMetaApplyConfiguration `json:""` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *GlobalNetworkSetSpecApplyConfiguration `json:"spec,omitempty"` } diff --git a/pkg/client/applyconfiguration_generated/projectcalico/v3/hostendpoint.go b/pkg/client/applyconfiguration_generated/projectcalico/v3/hostendpoint.go index 6215ebf38..50b6beec1 100644 --- a/pkg/client/applyconfiguration_generated/projectcalico/v3/hostendpoint.go +++ b/pkg/client/applyconfiguration_generated/projectcalico/v3/hostendpoint.go @@ -16,7 +16,7 @@ import ( // HostEndpointApplyConfiguration represents a declarative configuration of the HostEndpoint type for use // with apply. type HostEndpointApplyConfiguration struct { - v1.TypeMetaApplyConfiguration `json:",inline"` + v1.TypeMetaApplyConfiguration `json:""` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *HostEndpointSpecApplyConfiguration `json:"spec,omitempty"` } diff --git a/pkg/client/applyconfiguration_generated/projectcalico/v3/ipamblock.go b/pkg/client/applyconfiguration_generated/projectcalico/v3/ipamblock.go index f2253b770..44039a0fa 100644 --- a/pkg/client/applyconfiguration_generated/projectcalico/v3/ipamblock.go +++ b/pkg/client/applyconfiguration_generated/projectcalico/v3/ipamblock.go @@ -16,7 +16,7 @@ import ( // IPAMBlockApplyConfiguration represents a declarative configuration of the IPAMBlock type for use // with apply. type IPAMBlockApplyConfiguration struct { - v1.TypeMetaApplyConfiguration `json:",inline"` + v1.TypeMetaApplyConfiguration `json:""` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *IPAMBlockSpecApplyConfiguration `json:"spec,omitempty"` } diff --git a/pkg/client/applyconfiguration_generated/projectcalico/v3/ipamconfiguration.go b/pkg/client/applyconfiguration_generated/projectcalico/v3/ipamconfiguration.go index 7359b02d5..070701bda 100644 --- a/pkg/client/applyconfiguration_generated/projectcalico/v3/ipamconfiguration.go +++ b/pkg/client/applyconfiguration_generated/projectcalico/v3/ipamconfiguration.go @@ -18,7 +18,7 @@ import ( // // IPAMConfiguration contains information about a block for IP address assignment. type IPAMConfigurationApplyConfiguration struct { - v1.TypeMetaApplyConfiguration `json:",inline"` + v1.TypeMetaApplyConfiguration `json:""` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *IPAMConfigurationSpecApplyConfiguration `json:"spec,omitempty"` } diff --git a/pkg/client/applyconfiguration_generated/projectcalico/v3/ipamhandle.go b/pkg/client/applyconfiguration_generated/projectcalico/v3/ipamhandle.go index f68de4476..0c0fc2bce 100644 --- a/pkg/client/applyconfiguration_generated/projectcalico/v3/ipamhandle.go +++ b/pkg/client/applyconfiguration_generated/projectcalico/v3/ipamhandle.go @@ -16,7 +16,7 @@ import ( // IPAMHandleApplyConfiguration represents a declarative configuration of the IPAMHandle type for use // with apply. type IPAMHandleApplyConfiguration struct { - v1.TypeMetaApplyConfiguration `json:",inline"` + v1.TypeMetaApplyConfiguration `json:""` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *IPAMHandleSpecApplyConfiguration `json:"spec,omitempty"` } diff --git a/pkg/client/applyconfiguration_generated/projectcalico/v3/ippool.go b/pkg/client/applyconfiguration_generated/projectcalico/v3/ippool.go index 5355f5ef6..3c4b86055 100644 --- a/pkg/client/applyconfiguration_generated/projectcalico/v3/ippool.go +++ b/pkg/client/applyconfiguration_generated/projectcalico/v3/ippool.go @@ -16,7 +16,7 @@ import ( // IPPoolApplyConfiguration represents a declarative configuration of the IPPool type for use // with apply. type IPPoolApplyConfiguration struct { - v1.TypeMetaApplyConfiguration `json:",inline"` + v1.TypeMetaApplyConfiguration `json:""` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *IPPoolSpecApplyConfiguration `json:"spec,omitempty"` Status *IPPoolStatusApplyConfiguration `json:"status,omitempty"` diff --git a/pkg/client/applyconfiguration_generated/projectcalico/v3/ipreservation.go b/pkg/client/applyconfiguration_generated/projectcalico/v3/ipreservation.go index 4a5cc8a6f..bfee162ff 100644 --- a/pkg/client/applyconfiguration_generated/projectcalico/v3/ipreservation.go +++ b/pkg/client/applyconfiguration_generated/projectcalico/v3/ipreservation.go @@ -22,7 +22,7 @@ import ( // size of the IP pool. If large portions of an IP pool are reserved, Calico IPAM may hunt for a long time // to find a non-reserved IP. type IPReservationApplyConfiguration struct { - v1.TypeMetaApplyConfiguration `json:",inline"` + v1.TypeMetaApplyConfiguration `json:""` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *IPReservationSpecApplyConfiguration `json:"spec,omitempty"` } diff --git a/pkg/client/applyconfiguration_generated/projectcalico/v3/kubecontrollersconfiguration.go b/pkg/client/applyconfiguration_generated/projectcalico/v3/kubecontrollersconfiguration.go index f29f63de9..608483642 100644 --- a/pkg/client/applyconfiguration_generated/projectcalico/v3/kubecontrollersconfiguration.go +++ b/pkg/client/applyconfiguration_generated/projectcalico/v3/kubecontrollersconfiguration.go @@ -16,7 +16,7 @@ import ( // KubeControllersConfigurationApplyConfiguration represents a declarative configuration of the KubeControllersConfiguration type for use // with apply. type KubeControllersConfigurationApplyConfiguration struct { - v1.TypeMetaApplyConfiguration `json:",inline"` + v1.TypeMetaApplyConfiguration `json:""` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *KubeControllersConfigurationSpecApplyConfiguration `json:"spec,omitempty"` Status *KubeControllersConfigurationStatusApplyConfiguration `json:"status,omitempty"` diff --git a/pkg/client/applyconfiguration_generated/projectcalico/v3/networkpolicy.go b/pkg/client/applyconfiguration_generated/projectcalico/v3/networkpolicy.go index 5372f4de4..e3e3f1421 100644 --- a/pkg/client/applyconfiguration_generated/projectcalico/v3/networkpolicy.go +++ b/pkg/client/applyconfiguration_generated/projectcalico/v3/networkpolicy.go @@ -16,7 +16,7 @@ import ( // NetworkPolicyApplyConfiguration represents a declarative configuration of the NetworkPolicy type for use // with apply. type NetworkPolicyApplyConfiguration struct { - v1.TypeMetaApplyConfiguration `json:",inline"` + v1.TypeMetaApplyConfiguration `json:""` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *NetworkPolicySpecApplyConfiguration `json:"spec,omitempty"` } diff --git a/pkg/client/applyconfiguration_generated/projectcalico/v3/networkset.go b/pkg/client/applyconfiguration_generated/projectcalico/v3/networkset.go index 667bd48c1..59842dfc3 100644 --- a/pkg/client/applyconfiguration_generated/projectcalico/v3/networkset.go +++ b/pkg/client/applyconfiguration_generated/projectcalico/v3/networkset.go @@ -16,7 +16,7 @@ import ( // NetworkSetApplyConfiguration represents a declarative configuration of the NetworkSet type for use // with apply. type NetworkSetApplyConfiguration struct { - v1.TypeMetaApplyConfiguration `json:",inline"` + v1.TypeMetaApplyConfiguration `json:""` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *NetworkSetSpecApplyConfiguration `json:"spec,omitempty"` } diff --git a/pkg/client/applyconfiguration_generated/projectcalico/v3/profile.go b/pkg/client/applyconfiguration_generated/projectcalico/v3/profile.go index 19b0f5a8a..a64ebebdb 100644 --- a/pkg/client/applyconfiguration_generated/projectcalico/v3/profile.go +++ b/pkg/client/applyconfiguration_generated/projectcalico/v3/profile.go @@ -16,7 +16,7 @@ import ( // ProfileApplyConfiguration represents a declarative configuration of the Profile type for use // with apply. type ProfileApplyConfiguration struct { - v1.TypeMetaApplyConfiguration `json:",inline"` + v1.TypeMetaApplyConfiguration `json:""` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *ProfileSpecApplyConfiguration `json:"spec,omitempty"` } diff --git a/pkg/client/applyconfiguration_generated/projectcalico/v3/stagedglobalnetworkpolicy.go b/pkg/client/applyconfiguration_generated/projectcalico/v3/stagedglobalnetworkpolicy.go index ae0d886c1..a5384f227 100644 --- a/pkg/client/applyconfiguration_generated/projectcalico/v3/stagedglobalnetworkpolicy.go +++ b/pkg/client/applyconfiguration_generated/projectcalico/v3/stagedglobalnetworkpolicy.go @@ -18,7 +18,7 @@ import ( // // StagedGlobalNetworkPolicy is a staged GlobalNetworkPolicy. type StagedGlobalNetworkPolicyApplyConfiguration struct { - v1.TypeMetaApplyConfiguration `json:",inline"` + v1.TypeMetaApplyConfiguration `json:""` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *StagedGlobalNetworkPolicySpecApplyConfiguration `json:"spec,omitempty"` } diff --git a/pkg/client/applyconfiguration_generated/projectcalico/v3/stagedkubernetesnetworkpolicy.go b/pkg/client/applyconfiguration_generated/projectcalico/v3/stagedkubernetesnetworkpolicy.go index 49f661977..d6f402edc 100644 --- a/pkg/client/applyconfiguration_generated/projectcalico/v3/stagedkubernetesnetworkpolicy.go +++ b/pkg/client/applyconfiguration_generated/projectcalico/v3/stagedkubernetesnetworkpolicy.go @@ -18,7 +18,7 @@ import ( // // StagedKubernetesNetworkPolicy is a staged GlobalNetworkPolicy. type StagedKubernetesNetworkPolicyApplyConfiguration struct { - v1.TypeMetaApplyConfiguration `json:",inline"` + v1.TypeMetaApplyConfiguration `json:""` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *StagedKubernetesNetworkPolicySpecApplyConfiguration `json:"spec,omitempty"` } diff --git a/pkg/client/applyconfiguration_generated/projectcalico/v3/stagednetworkpolicy.go b/pkg/client/applyconfiguration_generated/projectcalico/v3/stagednetworkpolicy.go index 9b6847e1f..eb7bc2cf6 100644 --- a/pkg/client/applyconfiguration_generated/projectcalico/v3/stagednetworkpolicy.go +++ b/pkg/client/applyconfiguration_generated/projectcalico/v3/stagednetworkpolicy.go @@ -19,7 +19,7 @@ import ( // StagedNetworkPolicy is a staged NetworkPolicy. // StagedNetworkPolicy is the Namespaced-equivalent of the StagedGlobalNetworkPolicy. type StagedNetworkPolicyApplyConfiguration struct { - v1.TypeMetaApplyConfiguration `json:",inline"` + v1.TypeMetaApplyConfiguration `json:""` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *StagedNetworkPolicySpecApplyConfiguration `json:"spec,omitempty"` } diff --git a/pkg/client/applyconfiguration_generated/projectcalico/v3/template.go b/pkg/client/applyconfiguration_generated/projectcalico/v3/template.go index 6d861a776..b4e6aa981 100644 --- a/pkg/client/applyconfiguration_generated/projectcalico/v3/template.go +++ b/pkg/client/applyconfiguration_generated/projectcalico/v3/template.go @@ -18,6 +18,8 @@ type TemplateApplyConfiguration struct { InterfacePattern *string `json:"interfacePattern,omitempty"` // Labels adds the specified labels to the generated AutoHostEndpoint, labels from node with the same name will be overwritten by values from the template label Labels map[string]string `json:"labels,omitempty"` + // Annotations adds the specified annotations to the generated AutoHostEndpoint. + Annotations map[string]string `json:"annotations,omitempty"` // NodeSelector allows the AutoHostEndpoint to be created only for specific nodes NodeSelector *string `json:"nodeSelector,omitempty"` } @@ -68,6 +70,20 @@ func (b *TemplateApplyConfiguration) WithLabels(entries map[string]string) *Temp return b } +// WithAnnotations puts the entries into the Annotations field in the declarative configuration +// and returns the receiver, so that objects can be build by chaining "With" function invocations. +// If called multiple times, the entries provided by each call will be put on the Annotations field, +// overwriting an existing map entries in Annotations field with the same key. +func (b *TemplateApplyConfiguration) WithAnnotations(entries map[string]string) *TemplateApplyConfiguration { + if b.Annotations == nil && len(entries) > 0 { + b.Annotations = make(map[string]string, len(entries)) + } + for k, v := range entries { + b.Annotations[k] = v + } + return b +} + // WithNodeSelector sets the NodeSelector field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. // If called multiple times, the NodeSelector field is set to the value of the last call. diff --git a/pkg/client/applyconfiguration_generated/projectcalico/v3/tier.go b/pkg/client/applyconfiguration_generated/projectcalico/v3/tier.go index 3efe3433d..b8d485a71 100644 --- a/pkg/client/applyconfiguration_generated/projectcalico/v3/tier.go +++ b/pkg/client/applyconfiguration_generated/projectcalico/v3/tier.go @@ -20,7 +20,7 @@ import ( // be created and each tier is applied in the order specified in the tier specification. // Tier is globally-scoped (i.e. not Namespaced). type TierApplyConfiguration struct { - v1.TypeMetaApplyConfiguration `json:",inline"` + v1.TypeMetaApplyConfiguration `json:""` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *TierSpecApplyConfiguration `json:"spec,omitempty"` Status *TierStatusApplyConfiguration `json:"status,omitempty"` diff --git a/pkg/client/clientset_generated/clientset/clientset.go b/pkg/client/clientset_generated/clientset/clientset.go index 1a83a788d..e23aa138b 100644 --- a/pkg/client/clientset_generated/clientset/clientset.go +++ b/pkg/client/clientset_generated/clientset/clientset.go @@ -15,7 +15,7 @@ import ( ) type Interface interface { - Discovery() discovery.DiscoveryInterface + Discovery() discovery.DiscoveryInterfaces ProjectcalicoV3() projectcalicov3.ProjectcalicoV3Interface } @@ -31,7 +31,7 @@ func (c *Clientset) ProjectcalicoV3() projectcalicov3.ProjectcalicoV3Interface { } // Discovery retrieves the DiscoveryClient -func (c *Clientset) Discovery() discovery.DiscoveryInterface { +func (c *Clientset) Discovery() discovery.DiscoveryInterfaces { if c == nil { return nil } diff --git a/pkg/client/clientset_generated/clientset/fake/clientset_generated.go b/pkg/client/clientset_generated/clientset/fake/clientset_generated.go index 97a609cdb..7847b14ef 100644 --- a/pkg/client/clientset_generated/clientset/fake/clientset_generated.go +++ b/pkg/client/clientset_generated/clientset/fake/clientset_generated.go @@ -58,7 +58,7 @@ type Clientset struct { tracker testing.ObjectTracker } -func (c *Clientset) Discovery() discovery.DiscoveryInterface { +func (c *Clientset) Discovery() discovery.DiscoveryInterfaces { return c.discovery } diff --git a/pkg/client/informers_generated/externalversions/factory.go b/pkg/client/informers_generated/externalversions/factory.go index fb5989ddf..4f5d327a6 100644 --- a/pkg/client/informers_generated/externalversions/factory.go +++ b/pkg/client/informers_generated/externalversions/factory.go @@ -239,7 +239,7 @@ func (f *sharedInformerFactory) InformerFor(obj runtime.Object, newFunc internal // ctx, cancel := context.WithCancel(context.Background()) // defer cancel() // factory := NewSharedInformerFactory(client, resyncPeriod) -// defer factory.WaitForStop() // Returns immediately if nothing was started. +// defer factory.Shutdown() // Returns immediately if nothing was started. // genericInformer := factory.ForResource(resource) // typedInformer := factory.SomeAPIGroup().V1().SomeType() // handle, err := typeInformer.Informer().AddEventHandler(...) @@ -297,7 +297,7 @@ type SharedInformerFactory interface { // WaitForCacheSync blocks until all started informers' caches were synced // or the stop channel gets closed. // - // Contextual logging: WaitForCacheSync should be used instead of WaitForCacheSync in code which supports contextual logging. It also returns a more useful result. + // Contextual logging: WaitForCacheSyncWithContext should be used instead of WaitForCacheSync in code which supports contextual logging. It also returns a more useful result. WaitForCacheSync(stopCh <-chan struct{}) map[reflect.Type]bool // WaitForCacheSyncWithContext blocks until all started informers' caches were synced diff --git a/pkg/openapi/generated.openapi.go b/pkg/openapi/generated.openapi.go index 9492954be..eed0459e7 100644 --- a/pkg/openapi/generated.openapi.go +++ b/pkg/openapi/generated.openapi.go @@ -258,6 +258,7 @@ func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenA v1.NodeDaemonEndpoints{}.OpenAPIModelName(): schema_k8sio_api_core_v1_NodeDaemonEndpoints(ref), v1.NodeFeatures{}.OpenAPIModelName(): schema_k8sio_api_core_v1_NodeFeatures(ref), v1.NodeList{}.OpenAPIModelName(): schema_k8sio_api_core_v1_NodeList(ref), + v1.NodePodPreemptionPolicy{}.OpenAPIModelName(): schema_k8sio_api_core_v1_NodePodPreemptionPolicy(ref), v1.NodeProxyOptions{}.OpenAPIModelName(): schema_k8sio_api_core_v1_NodeProxyOptions(ref), v1.NodeRuntimeHandler{}.OpenAPIModelName(): schema_k8sio_api_core_v1_NodeRuntimeHandler(ref), v1.NodeRuntimeHandlerFeatures{}.OpenAPIModelName(): schema_k8sio_api_core_v1_NodeRuntimeHandlerFeatures(ref), @@ -309,7 +310,6 @@ func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenA v1.PodSignature{}.OpenAPIModelName(): schema_k8sio_api_core_v1_PodSignature(ref), v1.PodSpec{}.OpenAPIModelName(): schema_k8sio_api_core_v1_PodSpec(ref), v1.PodStatus{}.OpenAPIModelName(): schema_k8sio_api_core_v1_PodStatus(ref), - v1.PodStatusResult{}.OpenAPIModelName(): schema_k8sio_api_core_v1_PodStatusResult(ref), v1.PodTemplate{}.OpenAPIModelName(): schema_k8sio_api_core_v1_PodTemplate(ref), v1.PodTemplateList{}.OpenAPIModelName(): schema_k8sio_api_core_v1_PodTemplateList(ref), v1.PodTemplateSpec{}.OpenAPIModelName(): schema_k8sio_api_core_v1_PodTemplateSpec(ref), @@ -502,9 +502,8 @@ func schema_pkg_apis_projectcalico_v3_AllocationAttribute(ref common.ReferenceCa Allows: true, Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -518,9 +517,8 @@ func schema_pkg_apis_projectcalico_v3_AllocationAttribute(ref common.ReferenceCa Allows: true, Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -571,8 +569,7 @@ func schema_pkg_apis_projectcalico_v3_AutoHostEndpointConfig(ref common.Referenc Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v3.Template{}.OpenAPIModelName()), + Ref: ref(v3.Template{}.OpenAPIModelName()), }, }, }, @@ -660,8 +657,7 @@ func schema_pkg_apis_projectcalico_v3_BGPConfigurationList(ref common.ReferenceC Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v3.BGPConfiguration{}.OpenAPIModelName()), + Ref: ref(v3.BGPConfiguration{}.OpenAPIModelName()), }, }, }, @@ -716,8 +712,7 @@ func schema_pkg_apis_projectcalico_v3_BGPConfigurationSpec(ref common.ReferenceC Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v3.ServiceLoadBalancerIPBlock{}.OpenAPIModelName()), + Ref: ref(v3.ServiceLoadBalancerIPBlock{}.OpenAPIModelName()), }, }, }, @@ -735,8 +730,7 @@ func schema_pkg_apis_projectcalico_v3_BGPConfigurationSpec(ref common.ReferenceC Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v3.ServiceExternalIPBlock{}.OpenAPIModelName()), + Ref: ref(v3.ServiceExternalIPBlock{}.OpenAPIModelName()), }, }, }, @@ -754,8 +748,7 @@ func schema_pkg_apis_projectcalico_v3_BGPConfigurationSpec(ref common.ReferenceC Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v3.ServiceClusterIPBlock{}.OpenAPIModelName()), + Ref: ref(v3.ServiceClusterIPBlock{}.OpenAPIModelName()), }, }, }, @@ -780,8 +773,7 @@ func schema_pkg_apis_projectcalico_v3_BGPConfigurationSpec(ref common.ReferenceC Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v3.Community{}.OpenAPIModelName()), + Ref: ref(v3.Community{}.OpenAPIModelName()), }, }, }, @@ -799,8 +791,7 @@ func schema_pkg_apis_projectcalico_v3_BGPConfigurationSpec(ref common.ReferenceC Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v3.PrefixAdvertisement{}.OpenAPIModelName()), + Ref: ref(v3.PrefixAdvertisement{}.OpenAPIModelName()), }, }, }, @@ -844,9 +835,8 @@ func schema_pkg_apis_projectcalico_v3_BGPConfigurationSpec(ref common.ReferenceC Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -1029,9 +1019,8 @@ func schema_pkg_apis_projectcalico_v3_BGPFilterCommunityMatch(ref common.Referen Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -1082,8 +1071,7 @@ func schema_pkg_apis_projectcalico_v3_BGPFilterList(ref common.ReferenceCallback Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v3.BGPFilter{}.OpenAPIModelName()), + Ref: ref(v3.BGPFilter{}.OpenAPIModelName()), }, }, }, @@ -1213,9 +1201,8 @@ func schema_pkg_apis_projectcalico_v3_BGPFilterPrependASPath(ref common.Referenc Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: 0, - Type: []string{"integer"}, - Format: "int64", + Type: []string{"integer"}, + Format: "int64", }, }, }, @@ -1299,9 +1286,8 @@ func schema_pkg_apis_projectcalico_v3_BGPFilterRuleV4(ref common.ReferenceCallba Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: 0, - Type: []string{"integer"}, - Format: "int64", + Type: []string{"integer"}, + Format: "int64", }, }, }, @@ -1333,8 +1319,7 @@ func schema_pkg_apis_projectcalico_v3_BGPFilterRuleV4(ref common.ReferenceCallba Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v3.BGPFilterOperation{}.OpenAPIModelName()), + Ref: ref(v3.BGPFilterOperation{}.OpenAPIModelName()), }, }, }, @@ -1420,9 +1405,8 @@ func schema_pkg_apis_projectcalico_v3_BGPFilterRuleV6(ref common.ReferenceCallba Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: 0, - Type: []string{"integer"}, - Format: "int64", + Type: []string{"integer"}, + Format: "int64", }, }, }, @@ -1454,8 +1438,7 @@ func schema_pkg_apis_projectcalico_v3_BGPFilterRuleV6(ref common.ReferenceCallba Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v3.BGPFilterOperation{}.OpenAPIModelName()), + Ref: ref(v3.BGPFilterOperation{}.OpenAPIModelName()), }, }, }, @@ -1520,8 +1503,7 @@ func schema_pkg_apis_projectcalico_v3_BGPFilterSpec(ref common.ReferenceCallback Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v3.BGPFilterRuleV4{}.OpenAPIModelName()), + Ref: ref(v3.BGPFilterRuleV4{}.OpenAPIModelName()), }, }, }, @@ -1539,8 +1521,7 @@ func schema_pkg_apis_projectcalico_v3_BGPFilterSpec(ref common.ReferenceCallback Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v3.BGPFilterRuleV4{}.OpenAPIModelName()), + Ref: ref(v3.BGPFilterRuleV4{}.OpenAPIModelName()), }, }, }, @@ -1558,8 +1539,7 @@ func schema_pkg_apis_projectcalico_v3_BGPFilterSpec(ref common.ReferenceCallback Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v3.BGPFilterRuleV6{}.OpenAPIModelName()), + Ref: ref(v3.BGPFilterRuleV6{}.OpenAPIModelName()), }, }, }, @@ -1577,8 +1557,7 @@ func schema_pkg_apis_projectcalico_v3_BGPFilterSpec(ref common.ReferenceCallback Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v3.BGPFilterRuleV6{}.OpenAPIModelName()), + Ref: ref(v3.BGPFilterRuleV6{}.OpenAPIModelName()), }, }, }, @@ -1687,8 +1666,7 @@ func schema_pkg_apis_projectcalico_v3_BGPPeerList(ref common.ReferenceCallback) Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v3.BGPPeer{}.OpenAPIModelName()), + Ref: ref(v3.BGPPeer{}.OpenAPIModelName()), }, }, }, @@ -1824,9 +1802,8 @@ func schema_pkg_apis_projectcalico_v3_BGPPeerSpec(ref common.ReferenceCallback) Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -1997,8 +1974,7 @@ func schema_pkg_apis_projectcalico_v3_BlockAffinityList(ref common.ReferenceCall Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v3.BlockAffinity{}.OpenAPIModelName()), + Ref: ref(v3.BlockAffinity{}.OpenAPIModelName()), }, }, }, @@ -2114,8 +2090,7 @@ func schema_pkg_apis_projectcalico_v3_CalicoNodeBGPRouteStatus(ref common.Refere Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v3.CalicoNodeRoute{}.OpenAPIModelName()), + Ref: ref(v3.CalicoNodeRoute{}.OpenAPIModelName()), }, }, }, @@ -2133,8 +2108,7 @@ func schema_pkg_apis_projectcalico_v3_CalicoNodeBGPRouteStatus(ref common.Refere Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v3.CalicoNodeRoute{}.OpenAPIModelName()), + Ref: ref(v3.CalicoNodeRoute{}.OpenAPIModelName()), }, }, }, @@ -2199,8 +2173,7 @@ func schema_pkg_apis_projectcalico_v3_CalicoNodeBGPStatus(ref common.ReferenceCa Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v3.CalicoNodePeer{}.OpenAPIModelName()), + Ref: ref(v3.CalicoNodePeer{}.OpenAPIModelName()), }, }, }, @@ -2218,8 +2191,7 @@ func schema_pkg_apis_projectcalico_v3_CalicoNodeBGPStatus(ref common.ReferenceCa Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v3.CalicoNodePeer{}.OpenAPIModelName()), + Ref: ref(v3.CalicoNodePeer{}.OpenAPIModelName()), }, }, }, @@ -2432,8 +2404,7 @@ func schema_pkg_apis_projectcalico_v3_CalicoNodeStatusList(ref common.ReferenceC Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v3.CalicoNodeStatus{}.OpenAPIModelName()), + Ref: ref(v3.CalicoNodeStatus{}.OpenAPIModelName()), }, }, }, @@ -2474,9 +2445,8 @@ func schema_pkg_apis_projectcalico_v3_CalicoNodeStatusSpec(ref common.ReferenceC Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -2611,8 +2581,7 @@ func schema_pkg_apis_projectcalico_v3_ClusterInformationList(ref common.Referenc Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v3.ClusterInformation{}.OpenAPIModelName()), + Ref: ref(v3.ClusterInformation{}.OpenAPIModelName()), }, }, }, @@ -2817,9 +2786,8 @@ func schema_pkg_apis_projectcalico_v3_EntityRule(ref common.ReferenceCallback) c Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -2875,9 +2843,8 @@ func schema_pkg_apis_projectcalico_v3_EntityRule(ref common.ReferenceCallback) c Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -2996,8 +2963,7 @@ func schema_pkg_apis_projectcalico_v3_FelixConfigurationList(ref common.Referenc Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v3.FelixConfiguration{}.OpenAPIModelName()), + Ref: ref(v3.FelixConfiguration{}.OpenAPIModelName()), }, }, }, @@ -3397,8 +3363,7 @@ func schema_pkg_apis_projectcalico_v3_FelixConfigurationSpec(ref common.Referenc Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v3.HealthTimeoutOverride{}.OpenAPIModelName()), + Ref: ref(v3.HealthTimeoutOverride{}.OpenAPIModelName()), }, }, }, @@ -3469,7 +3434,7 @@ func schema_pkg_apis_projectcalico_v3_FelixConfigurationSpec(ref common.Referenc }, "prometheusMetricsClientAuth": { SchemaProps: spec.SchemaProps{ - Description: "PrometheusMetricsClientAuth specifies the client authentication type for the /metrics endpoint. This determines how the server validates client certificates. Default is \"RequireAndVerifyClientCert\".", + Description: "PrometheusMetricsClientAuth specifies the client authentication type for the /metrics endpoint. This determines how the server validates client certificates. Default is \"NoClientCert\".", Type: []string{"string"}, Format: "", }, @@ -3481,8 +3446,7 @@ func schema_pkg_apis_projectcalico_v3_FelixConfigurationSpec(ref common.Referenc Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v3.ProtoPort{}.OpenAPIModelName()), + Ref: ref(v3.ProtoPort{}.OpenAPIModelName()), }, }, }, @@ -3495,8 +3459,7 @@ func schema_pkg_apis_projectcalico_v3_FelixConfigurationSpec(ref common.Referenc Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v3.ProtoPort{}.OpenAPIModelName()), + Ref: ref(v3.ProtoPort{}.OpenAPIModelName()), }, }, }, @@ -3610,9 +3573,8 @@ func schema_pkg_apis_projectcalico_v3_FelixConfigurationSpec(ref common.Referenc Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -3694,12 +3656,27 @@ func schema_pkg_apis_projectcalico_v3_FelixConfigurationSpec(ref common.Referenc }, "nftablesMode": { SchemaProps: spec.SchemaProps{ - Description: "NFTablesMode configures nftables support in Felix. [Default: Auto]\n\nPossible enum values:\n - `\"Auto\"`\n - `\"Disabled\"`\n - `\"Enabled\"`", + Description: "NFTablesMode configures nftables support in Felix. In Auto mode, Felix uses the nftables dataplane if kube-proxy is detected to be running in nftables mode. [Default: Auto]\n\nPossible enum values:\n - `\"Auto\"`\n - `\"Disabled\"`\n - `\"Enabled\"`", Type: []string{"string"}, Format: "", Enum: []interface{}{"Auto", "Disabled", "Enabled"}, }, }, + "nftablesFlowTableOffload": { + SchemaProps: spec.SchemaProps{ + Description: "NFTablesFlowTableOffload controls which traffic nftables flowtable offload is enabled for, for improved forwarding performance. When set to \"All\", established connections accepted by Calico policy are offloaded to the kernel's flowtable fast path. Only applies when nftables mode is active. [Default: Disabled]\n\nPossible enum values:\n - `\"All\"`\n - `\"Disabled\"`", + Type: []string{"string"}, + Format: "", + Enum: []interface{}{"All", "Disabled"}, + }, + }, + "nftablesFlowTableDataIfacePattern": { + SchemaProps: spec.SchemaProps{ + Description: "NFTablesFlowTableDataIfacePattern is a regular expression that controls which host interfaces are added to the nftables flowtable, so that traffic forwarded between those interfaces and local workloads is offloaded to the flowtable fast path. Leave empty to offload only workload-to-workload traffic. Only takes effect when NFTablesFlowTableOffload is not Disabled. [Default: \"\"]", + Type: []string{"string"}, + Format: "", + }, + }, "nftablesRefreshInterval": { SchemaProps: spec.SchemaProps{ Description: "NftablesRefreshInterval controls the interval at which Felix periodically refreshes the nftables rules. [Default: 90s]", @@ -3741,6 +3718,13 @@ func schema_pkg_apis_projectcalico_v3_FelixConfigurationSpec(ref common.Referenc Format: "", }, }, + "bpfOverlayHostSourceIP": { + SchemaProps: spec.SchemaProps{ + Description: "BPFOverlayHostSourceIP controls the source IP that Felix uses in BPF mode for host-networked (node-originated) traffic egressing over an IPIP/VXLAN overlay tunnel. \"TunnelAddress\" (the default) assigns an IP address to the overlay tunnel device and uses it as the source, preserving the behaviour of clusters upgraded from earlier releases. \"HostAddress\" uses the node's own IP directly and does not assign a tunnel device IP. This option has no effect on WireGuard tunnels, which always use a tunnel device IP. [Default: TunnelAddress]", + Type: []string{"string"}, + Format: "", + }, + }, "bpfDisableUnprivileged": { SchemaProps: spec.SchemaProps{ Description: "BPFDisableUnprivileged, if enabled, Felix sets the kernel.unprivileged_bpf_disabled sysctl to disable unprivileged use of BPF. This ensures that unprivileged users cannot access Calico's BPF maps and cannot insert their own BPF programs to interfere with Calico's. [Default: true]", @@ -3797,9 +3781,8 @@ func schema_pkg_apis_projectcalico_v3_FelixConfigurationSpec(ref common.Referenc Allows: true, Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -3861,9 +3844,8 @@ func schema_pkg_apis_projectcalico_v3_FelixConfigurationSpec(ref common.Referenc Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -4007,9 +3989,8 @@ func schema_pkg_apis_projectcalico_v3_FelixConfigurationSpec(ref common.Referenc Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -4029,9 +4010,8 @@ func schema_pkg_apis_projectcalico_v3_FelixConfigurationSpec(ref common.Referenc Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -4133,8 +4113,7 @@ func schema_pkg_apis_projectcalico_v3_FelixConfigurationSpec(ref common.Referenc Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v3.RouteTableIDRange{}.OpenAPIModelName()), + Ref: ref(v3.RouteTableIDRange{}.OpenAPIModelName()), }, }, }, @@ -4449,8 +4428,7 @@ func schema_pkg_apis_projectcalico_v3_GlobalNetworkPolicyList(ref common.Referen Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v3.GlobalNetworkPolicy{}.OpenAPIModelName()), + Ref: ref(v3.GlobalNetworkPolicy{}.OpenAPIModelName()), }, }, }, @@ -4497,8 +4475,7 @@ func schema_pkg_apis_projectcalico_v3_GlobalNetworkPolicySpec(ref common.Referen Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v3.Rule{}.OpenAPIModelName()), + Ref: ref(v3.Rule{}.OpenAPIModelName()), }, }, }, @@ -4516,8 +4493,7 @@ func schema_pkg_apis_projectcalico_v3_GlobalNetworkPolicySpec(ref common.Referen Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v3.Rule{}.OpenAPIModelName()), + Ref: ref(v3.Rule{}.OpenAPIModelName()), }, }, }, @@ -4542,9 +4518,8 @@ func schema_pkg_apis_projectcalico_v3_GlobalNetworkPolicySpec(ref common.Referen Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -4597,9 +4572,8 @@ func schema_pkg_apis_projectcalico_v3_GlobalNetworkPolicySpec(ref common.Referen Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -4687,8 +4661,7 @@ func schema_pkg_apis_projectcalico_v3_GlobalNetworkSetList(ref common.ReferenceC Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v3.GlobalNetworkSet{}.OpenAPIModelName()), + Ref: ref(v3.GlobalNetworkSet{}.OpenAPIModelName()), }, }, }, @@ -4722,9 +4695,8 @@ func schema_pkg_apis_projectcalico_v3_GlobalNetworkSetSpec(ref common.ReferenceC Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -4755,9 +4727,8 @@ func schema_pkg_apis_projectcalico_v3_HTTPMatch(ref common.ReferenceCallback) co Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -4775,8 +4746,7 @@ func schema_pkg_apis_projectcalico_v3_HTTPMatch(ref common.ReferenceCallback) co Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v3.HTTPPath{}.OpenAPIModelName()), + Ref: ref(v3.HTTPPath{}.OpenAPIModelName()), }, }, }, @@ -4916,8 +4886,7 @@ func schema_pkg_apis_projectcalico_v3_HostEndpointList(ref common.ReferenceCallb Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v3.HostEndpoint{}.OpenAPIModelName()), + Ref: ref(v3.HostEndpoint{}.OpenAPIModelName()), }, }, }, @@ -4965,9 +4934,8 @@ func schema_pkg_apis_projectcalico_v3_HostEndpointSpec(ref common.ReferenceCallb Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -4985,9 +4953,8 @@ func schema_pkg_apis_projectcalico_v3_HostEndpointSpec(ref common.ReferenceCallb Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -5005,8 +4972,7 @@ func schema_pkg_apis_projectcalico_v3_HostEndpointSpec(ref common.ReferenceCallb Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v3.EndpointPort{}.OpenAPIModelName()), + Ref: ref(v3.EndpointPort{}.OpenAPIModelName()), }, }, }, @@ -5121,8 +5087,7 @@ func schema_pkg_apis_projectcalico_v3_IPAMBlockList(ref common.ReferenceCallback Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v3.IPAMBlock{}.OpenAPIModelName()), + Ref: ref(v3.IPAMBlock{}.OpenAPIModelName()), }, }, }, @@ -5196,9 +5161,8 @@ func schema_pkg_apis_projectcalico_v3_IPAMBlockSpec(ref common.ReferenceCallback Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: 0, - Type: []string{"integer"}, - Format: "int32", + Type: []string{"integer"}, + Format: "int32", }, }, }, @@ -5216,8 +5180,7 @@ func schema_pkg_apis_projectcalico_v3_IPAMBlockSpec(ref common.ReferenceCallback Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v3.AllocationAttribute{}.OpenAPIModelName()), + Ref: ref(v3.AllocationAttribute{}.OpenAPIModelName()), }, }, }, @@ -5239,9 +5202,8 @@ func schema_pkg_apis_projectcalico_v3_IPAMBlockSpec(ref common.ReferenceCallback Allows: true, Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: 0, - Type: []string{"integer"}, - Format: "int64", + Type: []string{"integer"}, + Format: "int64", }, }, }, @@ -5347,8 +5309,7 @@ func schema_pkg_apis_projectcalico_v3_IPAMConfigurationList(ref common.Reference Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v3.IPAMConfiguration{}.OpenAPIModelName()), + Ref: ref(v3.IPAMConfiguration{}.OpenAPIModelName()), }, }, }, @@ -5488,8 +5449,7 @@ func schema_pkg_apis_projectcalico_v3_IPAMHandleList(ref common.ReferenceCallbac Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v3.IPAMHandle{}.OpenAPIModelName()), + Ref: ref(v3.IPAMHandle{}.OpenAPIModelName()), }, }, }, @@ -5527,9 +5487,8 @@ func schema_pkg_apis_projectcalico_v3_IPAMHandleSpec(ref common.ReferenceCallbac Allows: true, Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: 0, - Type: []string{"integer"}, - Format: "int32", + Type: []string{"integer"}, + Format: "int32", }, }, }, @@ -5655,8 +5614,7 @@ func schema_pkg_apis_projectcalico_v3_IPPoolList(ref common.ReferenceCallback) c Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v3.IPPool{}.OpenAPIModelName()), + Ref: ref(v3.IPPool{}.OpenAPIModelName()), }, }, }, @@ -5754,9 +5712,8 @@ func schema_pkg_apis_projectcalico_v3_IPPoolSpec(ref common.ReferenceCallback) c Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -5796,8 +5753,7 @@ func schema_pkg_apis_projectcalico_v3_IPPoolStatus(ref common.ReferenceCallback) Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(metav1.Condition{}.OpenAPIModelName()), + Ref: ref(metav1.Condition{}.OpenAPIModelName()), }, }, }, @@ -5886,8 +5842,7 @@ func schema_pkg_apis_projectcalico_v3_IPReservationList(ref common.ReferenceCall Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v3.IPReservation{}.OpenAPIModelName()), + Ref: ref(v3.IPReservation{}.OpenAPIModelName()), }, }, }, @@ -5921,9 +5876,8 @@ func schema_pkg_apis_projectcalico_v3_IPReservationSpec(ref common.ReferenceCall Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -6015,8 +5969,7 @@ func schema_pkg_apis_projectcalico_v3_KubeControllersConfigurationList(ref commo Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v3.KubeControllersConfiguration{}.OpenAPIModelName()), + Ref: ref(v3.KubeControllersConfiguration{}.OpenAPIModelName()), }, }, }, @@ -6109,9 +6062,8 @@ func schema_pkg_apis_projectcalico_v3_KubeControllersConfigurationStatus(ref com Allows: true, Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -6258,8 +6210,7 @@ func schema_pkg_apis_projectcalico_v3_NetworkPolicyList(ref common.ReferenceCall Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v3.NetworkPolicy{}.OpenAPIModelName()), + Ref: ref(v3.NetworkPolicy{}.OpenAPIModelName()), }, }, }, @@ -6306,8 +6257,7 @@ func schema_pkg_apis_projectcalico_v3_NetworkPolicySpec(ref common.ReferenceCall Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v3.Rule{}.OpenAPIModelName()), + Ref: ref(v3.Rule{}.OpenAPIModelName()), }, }, }, @@ -6325,8 +6275,7 @@ func schema_pkg_apis_projectcalico_v3_NetworkPolicySpec(ref common.ReferenceCall Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v3.Rule{}.OpenAPIModelName()), + Ref: ref(v3.Rule{}.OpenAPIModelName()), }, }, }, @@ -6351,9 +6300,8 @@ func schema_pkg_apis_projectcalico_v3_NetworkPolicySpec(ref common.ReferenceCall Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -6378,9 +6326,8 @@ func schema_pkg_apis_projectcalico_v3_NetworkPolicySpec(ref common.ReferenceCall Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -6468,8 +6415,7 @@ func schema_pkg_apis_projectcalico_v3_NetworkSetList(ref common.ReferenceCallbac Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v3.NetworkSet{}.OpenAPIModelName()), + Ref: ref(v3.NetworkSet{}.OpenAPIModelName()), }, }, }, @@ -6503,9 +6449,8 @@ func schema_pkg_apis_projectcalico_v3_NetworkSetSpec(ref common.ReferenceCallbac Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -6604,9 +6549,8 @@ func schema_pkg_apis_projectcalico_v3_PrefixAdvertisement(ref common.ReferenceCa Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -6697,8 +6641,7 @@ func schema_pkg_apis_projectcalico_v3_ProfileList(ref common.ReferenceCallback) Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v3.Profile{}.OpenAPIModelName()), + Ref: ref(v3.Profile{}.OpenAPIModelName()), }, }, }, @@ -6732,8 +6675,7 @@ func schema_pkg_apis_projectcalico_v3_ProfileSpec(ref common.ReferenceCallback) Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v3.Rule{}.OpenAPIModelName()), + Ref: ref(v3.Rule{}.OpenAPIModelName()), }, }, }, @@ -6751,8 +6693,7 @@ func schema_pkg_apis_projectcalico_v3_ProfileSpec(ref common.ReferenceCallback) Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v3.Rule{}.OpenAPIModelName()), + Ref: ref(v3.Rule{}.OpenAPIModelName()), }, }, }, @@ -6766,9 +6707,8 @@ func schema_pkg_apis_projectcalico_v3_ProfileSpec(ref common.ReferenceCallback) Allows: true, Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -6963,9 +6903,8 @@ func schema_pkg_apis_projectcalico_v3_RuleMetadata(ref common.ReferenceCallback) Allows: true, Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -7016,9 +6955,8 @@ func schema_pkg_apis_projectcalico_v3_ServiceAccountMatch(ref common.ReferenceCa Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -7210,8 +7148,7 @@ func schema_pkg_apis_projectcalico_v3_StagedGlobalNetworkPolicyList(ref common.R Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v3.StagedGlobalNetworkPolicy{}.OpenAPIModelName()), + Ref: ref(v3.StagedGlobalNetworkPolicy{}.OpenAPIModelName()), }, }, }, @@ -7265,8 +7202,7 @@ func schema_pkg_apis_projectcalico_v3_StagedGlobalNetworkPolicySpec(ref common.R Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v3.Rule{}.OpenAPIModelName()), + Ref: ref(v3.Rule{}.OpenAPIModelName()), }, }, }, @@ -7284,8 +7220,7 @@ func schema_pkg_apis_projectcalico_v3_StagedGlobalNetworkPolicySpec(ref common.R Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v3.Rule{}.OpenAPIModelName()), + Ref: ref(v3.Rule{}.OpenAPIModelName()), }, }, }, @@ -7310,9 +7245,8 @@ func schema_pkg_apis_projectcalico_v3_StagedGlobalNetworkPolicySpec(ref common.R Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -7365,9 +7299,8 @@ func schema_pkg_apis_projectcalico_v3_StagedGlobalNetworkPolicySpec(ref common.R Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -7456,8 +7389,7 @@ func schema_pkg_apis_projectcalico_v3_StagedKubernetesNetworkPolicyList(ref comm Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v3.StagedKubernetesNetworkPolicy{}.OpenAPIModelName()), + Ref: ref(v3.StagedKubernetesNetworkPolicy{}.OpenAPIModelName()), }, }, }, @@ -7504,8 +7436,7 @@ func schema_pkg_apis_projectcalico_v3_StagedKubernetesNetworkPolicySpec(ref comm Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(networkingv1.NetworkPolicyIngressRule{}.OpenAPIModelName()), + Ref: ref(networkingv1.NetworkPolicyIngressRule{}.OpenAPIModelName()), }, }, }, @@ -7523,8 +7454,7 @@ func schema_pkg_apis_projectcalico_v3_StagedKubernetesNetworkPolicySpec(ref comm Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(networkingv1.NetworkPolicyEgressRule{}.OpenAPIModelName()), + Ref: ref(networkingv1.NetworkPolicyEgressRule{}.OpenAPIModelName()), }, }, }, @@ -7542,10 +7472,9 @@ func schema_pkg_apis_projectcalico_v3_StagedKubernetesNetworkPolicySpec(ref comm Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", - Enum: []interface{}{"Egress", "Ingress"}, + Type: []string{"string"}, + Format: "", + Enum: []interface{}{"Egress", "Ingress"}, }, }, }, @@ -7634,8 +7563,7 @@ func schema_pkg_apis_projectcalico_v3_StagedNetworkPolicyList(ref common.Referen Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v3.StagedNetworkPolicy{}.OpenAPIModelName()), + Ref: ref(v3.StagedNetworkPolicy{}.OpenAPIModelName()), }, }, }, @@ -7689,8 +7617,7 @@ func schema_pkg_apis_projectcalico_v3_StagedNetworkPolicySpec(ref common.Referen Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v3.Rule{}.OpenAPIModelName()), + Ref: ref(v3.Rule{}.OpenAPIModelName()), }, }, }, @@ -7708,8 +7635,7 @@ func schema_pkg_apis_projectcalico_v3_StagedNetworkPolicySpec(ref common.Referen Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v3.Rule{}.OpenAPIModelName()), + Ref: ref(v3.Rule{}.OpenAPIModelName()), }, }, }, @@ -7734,9 +7660,8 @@ func schema_pkg_apis_projectcalico_v3_StagedNetworkPolicySpec(ref common.Referen Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -7761,9 +7686,8 @@ func schema_pkg_apis_projectcalico_v3_StagedNetworkPolicySpec(ref common.Referen Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -7802,9 +7726,8 @@ func schema_pkg_apis_projectcalico_v3_Template(ref common.ReferenceCallback) com Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -7825,9 +7748,23 @@ func schema_pkg_apis_projectcalico_v3_Template(ref common.ReferenceCallback) com Allows: true, Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", + }, + }, + }, + }, + }, + "annotations": { + SchemaProps: spec.SchemaProps{ + Description: "Annotations adds the specified annotations to the generated AutoHostEndpoint.", + Type: []string{"object"}, + AdditionalProperties: &spec.SchemaOrBool{ + Allows: true, + Schema: &spec.Schema{ + SchemaProps: spec.SchemaProps{ + Type: []string{"string"}, + Format: "", }, }, }, @@ -7927,8 +7864,7 @@ func schema_pkg_apis_projectcalico_v3_TierList(ref common.ReferenceCallback) com Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v3.Tier{}.OpenAPIModelName()), + Ref: ref(v3.Tier{}.OpenAPIModelName()), }, }, }, @@ -7992,8 +7928,7 @@ func schema_pkg_apis_projectcalico_v3_TierStatus(ref common.ReferenceCallback) c Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(metav1.Condition{}.OpenAPIModelName()), + Ref: ref(metav1.Condition{}.OpenAPIModelName()), }, }, }, @@ -8241,8 +8176,7 @@ func schema_k8sio_api_core_v1_AvoidPods(ref common.ReferenceCallback) common.Ope Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.PreferAvoidPodsEntry{}.OpenAPIModelName()), + Ref: ref(v1.PreferAvoidPodsEntry{}.OpenAPIModelName()), }, }, }, @@ -8490,9 +8424,8 @@ func schema_k8sio_api_core_v1_CSIPersistentVolumeSource(ref common.ReferenceCall Allows: true, Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -8574,9 +8507,8 @@ func schema_k8sio_api_core_v1_CSIVolumeSource(ref common.ReferenceCallback) comm Allows: true, Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -8616,9 +8548,8 @@ func schema_k8sio_api_core_v1_Capabilities(ref common.ReferenceCallback) common. Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -8636,9 +8567,8 @@ func schema_k8sio_api_core_v1_Capabilities(ref common.ReferenceCallback) common. Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -8669,9 +8599,8 @@ func schema_k8sio_api_core_v1_CephFSPersistentVolumeSource(ref common.ReferenceC Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -8739,9 +8668,8 @@ func schema_k8sio_api_core_v1_CephFSVolumeSource(ref common.ReferenceCallback) c Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -9038,8 +8966,7 @@ func schema_k8sio_api_core_v1_ComponentStatus(ref common.ReferenceCallback) comm Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.ComponentCondition{}.OpenAPIModelName()), + Ref: ref(v1.ComponentCondition{}.OpenAPIModelName()), }, }, }, @@ -9088,8 +9015,7 @@ func schema_k8sio_api_core_v1_ComponentStatusList(ref common.ReferenceCallback) Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.ComponentStatus{}.OpenAPIModelName()), + Ref: ref(v1.ComponentStatus{}.OpenAPIModelName()), }, }, }, @@ -9147,9 +9073,8 @@ func schema_k8sio_api_core_v1_ConfigMap(ref common.ReferenceCallback) common.Ope Allows: true, Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -9157,7 +9082,7 @@ func schema_k8sio_api_core_v1_ConfigMap(ref common.ReferenceCallback) common.Ope }, "binaryData": { SchemaProps: spec.SchemaProps{ - Description: "BinaryData contains the binary data. Each key must consist of alphanumeric characters, '-', '_' or '.'. BinaryData can contain byte sequences that are not in the UTF-8 range. The keys stored in BinaryData must not overlap with the ones in the Data field, this is enforced during validation process. Using this field will require 1.10+ apiserver and kubelet.", + Description: "BinaryData contains the binary data. Each key must consist of alphanumeric characters, '-', '_' or '.'. BinaryData can contain byte sequences that are not in the UTF-8 range. The keys stored in BinaryData must not overlap with the ones in the Data field, this is enforced during validation process. Using this field will require 1.10+ apiserver and kubelet. Note: BinaryData keys are not currently propagated to container env vars via ConfigMapKeyRef or ConfigMapRef env sources; only Data keys are used.", Type: []string{"object"}, AdditionalProperties: &spec.SchemaOrBool{ Allows: true, @@ -9182,7 +9107,7 @@ func schema_k8sio_api_core_v1_ConfigMapEnvSource(ref common.ReferenceCallback) c return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ - Description: "ConfigMapEnvSource selects a ConfigMap to populate the environment variables with.\n\nThe contents of the target ConfigMap's Data field will represent the key-value pairs as environment variables.", + Description: "ConfigMapEnvSource selects a ConfigMap to populate the environment variables with.\n\nThe contents of the target ConfigMap's Data field will represent the key-value pairs as environment variables. Keys in the BinaryData field are not currently propagated to container env vars.", Type: []string{"object"}, Properties: map[string]spec.Schema{ "name": { @@ -9223,7 +9148,7 @@ func schema_k8sio_api_core_v1_ConfigMapKeySelector(ref common.ReferenceCallback) }, "key": { SchemaProps: spec.SchemaProps{ - Description: "The key to select.", + Description: "The key to select from the ConfigMap's Data field. Keys in the BinaryData field are not currently propagated to container env vars.", Default: "", Type: []string{"string"}, Format: "", @@ -9283,8 +9208,7 @@ func schema_k8sio_api_core_v1_ConfigMapList(ref common.ReferenceCallback) common Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.ConfigMap{}.OpenAPIModelName()), + Ref: ref(v1.ConfigMap{}.OpenAPIModelName()), }, }, }, @@ -9378,8 +9302,7 @@ func schema_k8sio_api_core_v1_ConfigMapProjection(ref common.ReferenceCallback) Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.KeyToPath{}.OpenAPIModelName()), + Ref: ref(v1.KeyToPath{}.OpenAPIModelName()), }, }, }, @@ -9427,8 +9350,7 @@ func schema_k8sio_api_core_v1_ConfigMapVolumeSource(ref common.ReferenceCallback Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.KeyToPath{}.OpenAPIModelName()), + Ref: ref(v1.KeyToPath{}.OpenAPIModelName()), }, }, }, @@ -9490,9 +9412,8 @@ func schema_k8sio_api_core_v1_Container(ref common.ReferenceCallback) common.Ope Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -9510,9 +9431,8 @@ func schema_k8sio_api_core_v1_Container(ref common.ReferenceCallback) common.Ope Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -9543,8 +9463,7 @@ func schema_k8sio_api_core_v1_Container(ref common.ReferenceCallback) common.Ope Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.ContainerPort{}.OpenAPIModelName()), + Ref: ref(v1.ContainerPort{}.OpenAPIModelName()), }, }, }, @@ -9562,8 +9481,7 @@ func schema_k8sio_api_core_v1_Container(ref common.ReferenceCallback) common.Ope Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.EnvFromSource{}.OpenAPIModelName()), + Ref: ref(v1.EnvFromSource{}.OpenAPIModelName()), }, }, }, @@ -9586,8 +9504,7 @@ func schema_k8sio_api_core_v1_Container(ref common.ReferenceCallback) common.Ope Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.EnvVar{}.OpenAPIModelName()), + Ref: ref(v1.EnvVar{}.OpenAPIModelName()), }, }, }, @@ -9612,8 +9529,7 @@ func schema_k8sio_api_core_v1_Container(ref common.ReferenceCallback) common.Ope Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.ContainerResizePolicy{}.OpenAPIModelName()), + Ref: ref(v1.ContainerResizePolicy{}.OpenAPIModelName()), }, }, }, @@ -9638,8 +9554,7 @@ func schema_k8sio_api_core_v1_Container(ref common.ReferenceCallback) common.Ope Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.ContainerRestartRule{}.OpenAPIModelName()), + Ref: ref(v1.ContainerRestartRule{}.OpenAPIModelName()), }, }, }, @@ -9662,8 +9577,7 @@ func schema_k8sio_api_core_v1_Container(ref common.ReferenceCallback) common.Ope Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.VolumeMount{}.OpenAPIModelName()), + Ref: ref(v1.VolumeMount{}.OpenAPIModelName()), }, }, }, @@ -9686,8 +9600,7 @@ func schema_k8sio_api_core_v1_Container(ref common.ReferenceCallback) common.Ope Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.VolumeDevice{}.OpenAPIModelName()), + Ref: ref(v1.VolumeDevice{}.OpenAPIModelName()), }, }, }, @@ -9833,9 +9746,8 @@ func schema_k8sio_api_core_v1_ContainerImage(ref common.ReferenceCallback) commo Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -9991,9 +9903,8 @@ func schema_k8sio_api_core_v1_ContainerRestartRuleOnExitCodes(ref common.Referen Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: 0, - Type: []string{"integer"}, - Format: "int32", + Type: []string{"integer"}, + Format: "int32", }, }, }, @@ -10263,8 +10174,7 @@ func schema_k8sio_api_core_v1_ContainerStatus(ref common.ReferenceCallback) comm Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.VolumeMountStatus{}.OpenAPIModelName()), + Ref: ref(v1.VolumeMountStatus{}.OpenAPIModelName()), }, }, }, @@ -10293,8 +10203,7 @@ func schema_k8sio_api_core_v1_ContainerStatus(ref common.ReferenceCallback) comm Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.ResourceStatus{}.OpenAPIModelName()), + Ref: ref(v1.ResourceStatus{}.OpenAPIModelName()), }, }, }, @@ -10379,8 +10288,7 @@ func schema_k8sio_api_core_v1_DownwardAPIProjection(ref common.ReferenceCallback Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.DownwardAPIVolumeFile{}.OpenAPIModelName()), + Ref: ref(v1.DownwardAPIVolumeFile{}.OpenAPIModelName()), }, }, }, @@ -10456,8 +10364,7 @@ func schema_k8sio_api_core_v1_DownwardAPIVolumeSource(ref common.ReferenceCallba Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.DownwardAPIVolumeFile{}.OpenAPIModelName()), + Ref: ref(v1.DownwardAPIVolumeFile{}.OpenAPIModelName()), }, }, }, @@ -10623,8 +10530,7 @@ func schema_k8sio_api_core_v1_EndpointSubset(ref common.ReferenceCallback) commo Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.EndpointAddress{}.OpenAPIModelName()), + Ref: ref(v1.EndpointAddress{}.OpenAPIModelName()), }, }, }, @@ -10642,8 +10548,7 @@ func schema_k8sio_api_core_v1_EndpointSubset(ref common.ReferenceCallback) commo Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.EndpointAddress{}.OpenAPIModelName()), + Ref: ref(v1.EndpointAddress{}.OpenAPIModelName()), }, }, }, @@ -10661,8 +10566,7 @@ func schema_k8sio_api_core_v1_EndpointSubset(ref common.ReferenceCallback) commo Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.EndpointPort{}.OpenAPIModelName()), + Ref: ref(v1.EndpointPort{}.OpenAPIModelName()), }, }, }, @@ -10716,8 +10620,7 @@ func schema_k8sio_api_core_v1_Endpoints(ref common.ReferenceCallback) common.Ope Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.EndpointSubset{}.OpenAPIModelName()), + Ref: ref(v1.EndpointSubset{}.OpenAPIModelName()), }, }, }, @@ -10766,8 +10669,7 @@ func schema_k8sio_api_core_v1_EndpointsList(ref common.ReferenceCallback) common Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.Endpoints{}.OpenAPIModelName()), + Ref: ref(v1.Endpoints{}.OpenAPIModelName()), }, }, }, @@ -10932,9 +10834,8 @@ func schema_k8sio_api_core_v1_EphemeralContainer(ref common.ReferenceCallback) c Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -10952,9 +10853,8 @@ func schema_k8sio_api_core_v1_EphemeralContainer(ref common.ReferenceCallback) c Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -10985,8 +10885,7 @@ func schema_k8sio_api_core_v1_EphemeralContainer(ref common.ReferenceCallback) c Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.ContainerPort{}.OpenAPIModelName()), + Ref: ref(v1.ContainerPort{}.OpenAPIModelName()), }, }, }, @@ -11004,8 +10903,7 @@ func schema_k8sio_api_core_v1_EphemeralContainer(ref common.ReferenceCallback) c Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.EnvFromSource{}.OpenAPIModelName()), + Ref: ref(v1.EnvFromSource{}.OpenAPIModelName()), }, }, }, @@ -11028,8 +10926,7 @@ func schema_k8sio_api_core_v1_EphemeralContainer(ref common.ReferenceCallback) c Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.EnvVar{}.OpenAPIModelName()), + Ref: ref(v1.EnvVar{}.OpenAPIModelName()), }, }, }, @@ -11054,8 +10951,7 @@ func schema_k8sio_api_core_v1_EphemeralContainer(ref common.ReferenceCallback) c Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.ContainerResizePolicy{}.OpenAPIModelName()), + Ref: ref(v1.ContainerResizePolicy{}.OpenAPIModelName()), }, }, }, @@ -11080,8 +10976,7 @@ func schema_k8sio_api_core_v1_EphemeralContainer(ref common.ReferenceCallback) c Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.ContainerRestartRule{}.OpenAPIModelName()), + Ref: ref(v1.ContainerRestartRule{}.OpenAPIModelName()), }, }, }, @@ -11104,8 +10999,7 @@ func schema_k8sio_api_core_v1_EphemeralContainer(ref common.ReferenceCallback) c Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.VolumeMount{}.OpenAPIModelName()), + Ref: ref(v1.VolumeMount{}.OpenAPIModelName()), }, }, }, @@ -11128,8 +11022,7 @@ func schema_k8sio_api_core_v1_EphemeralContainer(ref common.ReferenceCallback) c Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.VolumeDevice{}.OpenAPIModelName()), + Ref: ref(v1.VolumeDevice{}.OpenAPIModelName()), }, }, }, @@ -11259,9 +11152,8 @@ func schema_k8sio_api_core_v1_EphemeralContainerCommon(ref common.ReferenceCallb Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -11279,9 +11171,8 @@ func schema_k8sio_api_core_v1_EphemeralContainerCommon(ref common.ReferenceCallb Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -11312,8 +11203,7 @@ func schema_k8sio_api_core_v1_EphemeralContainerCommon(ref common.ReferenceCallb Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.ContainerPort{}.OpenAPIModelName()), + Ref: ref(v1.ContainerPort{}.OpenAPIModelName()), }, }, }, @@ -11331,8 +11221,7 @@ func schema_k8sio_api_core_v1_EphemeralContainerCommon(ref common.ReferenceCallb Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.EnvFromSource{}.OpenAPIModelName()), + Ref: ref(v1.EnvFromSource{}.OpenAPIModelName()), }, }, }, @@ -11355,8 +11244,7 @@ func schema_k8sio_api_core_v1_EphemeralContainerCommon(ref common.ReferenceCallb Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.EnvVar{}.OpenAPIModelName()), + Ref: ref(v1.EnvVar{}.OpenAPIModelName()), }, }, }, @@ -11381,8 +11269,7 @@ func schema_k8sio_api_core_v1_EphemeralContainerCommon(ref common.ReferenceCallb Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.ContainerResizePolicy{}.OpenAPIModelName()), + Ref: ref(v1.ContainerResizePolicy{}.OpenAPIModelName()), }, }, }, @@ -11407,8 +11294,7 @@ func schema_k8sio_api_core_v1_EphemeralContainerCommon(ref common.ReferenceCallb Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.ContainerRestartRule{}.OpenAPIModelName()), + Ref: ref(v1.ContainerRestartRule{}.OpenAPIModelName()), }, }, }, @@ -11431,8 +11317,7 @@ func schema_k8sio_api_core_v1_EphemeralContainerCommon(ref common.ReferenceCallb Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.VolumeMount{}.OpenAPIModelName()), + Ref: ref(v1.VolumeMount{}.OpenAPIModelName()), }, }, }, @@ -11455,8 +11340,7 @@ func schema_k8sio_api_core_v1_EphemeralContainerCommon(ref common.ReferenceCallb Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.VolumeDevice{}.OpenAPIModelName()), + Ref: ref(v1.VolumeDevice{}.OpenAPIModelName()), }, }, }, @@ -11733,8 +11617,7 @@ func schema_k8sio_api_core_v1_EventList(ref common.ReferenceCallback) common.Ope Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.Event{}.OpenAPIModelName()), + Ref: ref(v1.Event{}.OpenAPIModelName()), }, }, }, @@ -11823,9 +11706,8 @@ func schema_k8sio_api_core_v1_ExecAction(ref common.ReferenceCallback) common.Op Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -11856,9 +11738,8 @@ func schema_k8sio_api_core_v1_FCVolumeSource(ref common.ReferenceCallback) commo Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -11897,9 +11778,8 @@ func schema_k8sio_api_core_v1_FCVolumeSource(ref common.ReferenceCallback) commo Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -12005,9 +11885,8 @@ func schema_k8sio_api_core_v1_FlexPersistentVolumeSource(ref common.ReferenceCal Allows: true, Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -12065,9 +11944,8 @@ func schema_k8sio_api_core_v1_FlexVolumeSource(ref common.ReferenceCallback) com Allows: true, Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -12346,8 +12224,7 @@ func schema_k8sio_api_core_v1_HTTPGetAction(ref common.ReferenceCallback) common Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.HTTPHeader{}.OpenAPIModelName()), + Ref: ref(v1.HTTPHeader{}.OpenAPIModelName()), }, }, }, @@ -12419,9 +12296,8 @@ func schema_k8sio_api_core_v1_HostAlias(ref common.ReferenceCallback) common.Ope Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -12551,9 +12427,8 @@ func schema_k8sio_api_core_v1_ISCSIPersistentVolumeSource(ref common.ReferenceCa Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -12660,9 +12535,8 @@ func schema_k8sio_api_core_v1_ISCSIVolumeSource(ref common.ReferenceCallback) co Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -13036,8 +12910,7 @@ func schema_k8sio_api_core_v1_LimitRangeList(ref common.ReferenceCallback) commo Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.LimitRange{}.OpenAPIModelName()), + Ref: ref(v1.LimitRange{}.OpenAPIModelName()), }, }, }, @@ -13071,8 +12944,7 @@ func schema_k8sio_api_core_v1_LimitRangeSpec(ref common.ReferenceCallback) commo Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.LimitRangeItem{}.OpenAPIModelName()), + Ref: ref(v1.LimitRangeItem{}.OpenAPIModelName()), }, }, }, @@ -13122,9 +12994,8 @@ func schema_k8sio_api_core_v1_LinuxContainerUser(ref common.ReferenceCallback) c Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: 0, - Type: []string{"integer"}, - Format: "int64", + Type: []string{"integer"}, + Format: "int64", }, }, }, @@ -13227,8 +13098,7 @@ func schema_k8sio_api_core_v1_LoadBalancerIngress(ref common.ReferenceCallback) Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.PortStatus{}.OpenAPIModelName()), + Ref: ref(v1.PortStatus{}.OpenAPIModelName()), }, }, }, @@ -13261,8 +13131,7 @@ func schema_k8sio_api_core_v1_LoadBalancerStatus(ref common.ReferenceCallback) c Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.LoadBalancerIngress{}.OpenAPIModelName()), + Ref: ref(v1.LoadBalancerIngress{}.OpenAPIModelName()), }, }, }, @@ -13535,8 +13404,7 @@ func schema_k8sio_api_core_v1_NamespaceList(ref common.ReferenceCallback) common Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.Namespace{}.OpenAPIModelName()), + Ref: ref(v1.Namespace{}.OpenAPIModelName()), }, }, }, @@ -13570,9 +13438,8 @@ func schema_k8sio_api_core_v1_NamespaceSpec(ref common.ReferenceCallback) common Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -13616,8 +13483,7 @@ func schema_k8sio_api_core_v1_NamespaceStatus(ref common.ReferenceCallback) comm Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.NamespaceCondition{}.OpenAPIModelName()), + Ref: ref(v1.NamespaceCondition{}.OpenAPIModelName()), }, }, }, @@ -13736,8 +13602,7 @@ func schema_k8sio_api_core_v1_NodeAffinity(ref common.ReferenceCallback) common. Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.PreferredSchedulingTerm{}.OpenAPIModelName()), + Ref: ref(v1.PreferredSchedulingTerm{}.OpenAPIModelName()), }, }, }, @@ -13778,9 +13643,8 @@ func schema_k8sio_api_core_v1_NodeAllocatableResourceClaimStatus(ref common.Refe Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -14005,8 +13869,7 @@ func schema_k8sio_api_core_v1_NodeList(ref common.ReferenceCallback) common.Open Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.Node{}.OpenAPIModelName()), + Ref: ref(v1.Node{}.OpenAPIModelName()), }, }, }, @@ -14021,6 +13884,38 @@ func schema_k8sio_api_core_v1_NodeList(ref common.ReferenceCallback) common.Open } } +func schema_k8sio_api_core_v1_NodePodPreemptionPolicy(ref common.ReferenceCallback) common.OpenAPIDefinition { + return common.OpenAPIDefinition{ + Schema: spec.Schema{ + SchemaProps: spec.SchemaProps{ + Description: "NodePodPreemptionPolicy defines the node-level policies governing preemption for pods on this node.", + Type: []string{"object"}, + Properties: map[string]spec.Schema{ + "disableResizePreemption": { + VendorExtensible: spec.VendorExtensible{ + Extensions: spec.Extensions{ + "x-kubernetes-list-type": "set", + }, + }, + SchemaProps: spec.SchemaProps{ + Description: "DisableResizePreemption lists the owners (e.g., autoscalers, operators, administrators) that have requested to disable scheduler and Kubelet preemption for in-place pod resize on this node. If this list is non-empty, resize-induced preemption is disabled on this node. This is an alpha field and requires enabling the InPlacePodVerticalScalingSchedulerPreemption feature gate.", + Type: []string{"array"}, + Items: &spec.SchemaOrArray{ + Schema: &spec.Schema{ + SchemaProps: spec.SchemaProps{ + Type: []string{"string"}, + Format: "", + }, + }, + }, + }, + }, + }, + }, + }, + } +} + func schema_k8sio_api_core_v1_NodeProxyOptions(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ @@ -14130,8 +14025,7 @@ func schema_k8sio_api_core_v1_NodeSelector(ref common.ReferenceCallback) common. Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.NodeSelectorTerm{}.OpenAPIModelName()), + Ref: ref(v1.NodeSelectorTerm{}.OpenAPIModelName()), }, }, }, @@ -14187,9 +14081,8 @@ func schema_k8sio_api_core_v1_NodeSelectorRequirement(ref common.ReferenceCallba Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -14221,8 +14114,7 @@ func schema_k8sio_api_core_v1_NodeSelectorTerm(ref common.ReferenceCallback) com Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.NodeSelectorRequirement{}.OpenAPIModelName()), + Ref: ref(v1.NodeSelectorRequirement{}.OpenAPIModelName()), }, }, }, @@ -14240,8 +14132,7 @@ func schema_k8sio_api_core_v1_NodeSelectorTerm(ref common.ReferenceCallback) com Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.NodeSelectorRequirement{}.OpenAPIModelName()), + Ref: ref(v1.NodeSelectorRequirement{}.OpenAPIModelName()), }, }, }, @@ -14287,9 +14178,8 @@ func schema_k8sio_api_core_v1_NodeSpec(ref common.ReferenceCallback) common.Open Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -14321,8 +14211,7 @@ func schema_k8sio_api_core_v1_NodeSpec(ref common.ReferenceCallback) common.Open Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.Taint{}.OpenAPIModelName()), + Ref: ref(v1.Taint{}.OpenAPIModelName()), }, }, }, @@ -14341,11 +14230,17 @@ func schema_k8sio_api_core_v1_NodeSpec(ref common.ReferenceCallback) common.Open Format: "", }, }, + "podPreemptionPolicy": { + SchemaProps: spec.SchemaProps{ + Description: "PodPreemptionPolicy controls the node-level preemption behaviors for pods on this node. This is an alpha field and requires enabling the InPlacePodVerticalScalingSchedulerPreemption feature gate.", + Ref: ref(v1.NodePodPreemptionPolicy{}.OpenAPIModelName()), + }, + }, }, }, }, Dependencies: []string{ - v1.NodeConfigSource{}.OpenAPIModelName(), v1.Taint{}.OpenAPIModelName()}, + v1.NodeConfigSource{}.OpenAPIModelName(), v1.NodePodPreemptionPolicy{}.OpenAPIModelName(), v1.Taint{}.OpenAPIModelName()}, } } @@ -14409,8 +14304,7 @@ func schema_k8sio_api_core_v1_NodeStatus(ref common.ReferenceCallback) common.Op Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.NodeCondition{}.OpenAPIModelName()), + Ref: ref(v1.NodeCondition{}.OpenAPIModelName()), }, }, }, @@ -14433,8 +14327,7 @@ func schema_k8sio_api_core_v1_NodeStatus(ref common.ReferenceCallback) common.Op Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.NodeAddress{}.OpenAPIModelName()), + Ref: ref(v1.NodeAddress{}.OpenAPIModelName()), }, }, }, @@ -14466,8 +14359,7 @@ func schema_k8sio_api_core_v1_NodeStatus(ref common.ReferenceCallback) common.Op Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.ContainerImage{}.OpenAPIModelName()), + Ref: ref(v1.ContainerImage{}.OpenAPIModelName()), }, }, }, @@ -14485,9 +14377,8 @@ func schema_k8sio_api_core_v1_NodeStatus(ref common.ReferenceCallback) common.Op Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -14505,8 +14396,7 @@ func schema_k8sio_api_core_v1_NodeStatus(ref common.ReferenceCallback) common.Op Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.AttachedVolume{}.OpenAPIModelName()), + Ref: ref(v1.AttachedVolume{}.OpenAPIModelName()), }, }, }, @@ -14530,8 +14420,7 @@ func schema_k8sio_api_core_v1_NodeStatus(ref common.ReferenceCallback) common.Op Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.NodeRuntimeHandler{}.OpenAPIModelName()), + Ref: ref(v1.NodeRuntimeHandler{}.OpenAPIModelName()), }, }, }, @@ -14555,9 +14444,8 @@ func schema_k8sio_api_core_v1_NodeStatus(ref common.ReferenceCallback) common.Op Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -14987,8 +14875,7 @@ func schema_k8sio_api_core_v1_PersistentVolumeClaimList(ref common.ReferenceCall Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.PersistentVolumeClaim{}.OpenAPIModelName()), + Ref: ref(v1.PersistentVolumeClaim{}.OpenAPIModelName()), }, }, }, @@ -15022,10 +14909,9 @@ func schema_k8sio_api_core_v1_PersistentVolumeClaimSpec(ref common.ReferenceCall Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", - Enum: []interface{}{"ReadOnlyMany", "ReadWriteMany", "ReadWriteOnce", "ReadWriteOncePod"}, + Type: []string{"string"}, + Format: "", + Enum: []interface{}{"ReadOnlyMany", "ReadWriteMany", "ReadWriteOnce", "ReadWriteOncePod"}, }, }, }, @@ -15068,13 +14954,13 @@ func schema_k8sio_api_core_v1_PersistentVolumeClaimSpec(ref common.ReferenceCall }, "dataSource": { SchemaProps: spec.SchemaProps{ - Description: "dataSource field can be used to specify either: * An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot) * An existing PVC (PersistentVolumeClaim) If the provisioner or an external controller can support the specified data source, it will create a new volume based on the contents of the specified data source. When the AnyVolumeDataSource feature gate is enabled, dataSource contents will be copied to dataSourceRef, and dataSourceRef contents will be copied to dataSource when dataSourceRef.namespace is not specified. If the namespace is specified, then dataSourceRef will not be copied to dataSource.", + Description: "dataSource field can be used to specify either: * An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot) * An existing PVC (PersistentVolumeClaim) If the provisioner or an external controller can support the specified data source, it will create a new volume based on the contents of the specified data source. dataSource contents will be copied to dataSourceRef, and dataSourceRef contents will be copied to dataSource when dataSourceRef.namespace is not specified. If the namespace is specified, then dataSourceRef will not be copied to dataSource.", Ref: ref(v1.TypedLocalObjectReference{}.OpenAPIModelName()), }, }, "dataSourceRef": { SchemaProps: spec.SchemaProps{ - Description: "dataSourceRef specifies the object from which to populate the volume with data, if a non-empty volume is desired. This may be any object from a non-empty API group (non core object) or a PersistentVolumeClaim object. When this field is specified, volume binding will only succeed if the type of the specified object matches some installed volume populator or dynamic provisioner. This field will replace the functionality of the dataSource field and as such if both fields are non-empty, they must have the same value. For backwards compatibility, when namespace isn't specified in dataSourceRef, both fields (dataSource and dataSourceRef) will be set to the same value automatically if one of them is empty and the other is non-empty. When namespace is specified in dataSourceRef, dataSource isn't set to the same value and must be empty. There are three important differences between dataSource and dataSourceRef: * While dataSource only allows two specific types of objects, dataSourceRef\n allows any non-core object, as well as PersistentVolumeClaim objects.\n* While dataSource ignores disallowed values (dropping them), dataSourceRef\n preserves all values, and generates an error if a disallowed value is\n specified.\n* While dataSource only allows local objects, dataSourceRef allows objects\n in any namespaces.\n(Beta) Using this field requires the AnyVolumeDataSource feature gate to be enabled. (Alpha) Using the namespace field of dataSourceRef requires the CrossNamespaceVolumeDataSource feature gate to be enabled.", + Description: "dataSourceRef specifies the object from which to populate the volume with data, if a non-empty volume is desired. This may be any object from a non-empty API group (non core object) or a PersistentVolumeClaim object. When this field is specified, volume binding will only succeed if the type of the specified object matches some installed volume populator or dynamic provisioner. This field will replace the functionality of the dataSource field and as such if both fields are non-empty, they must have the same value. For backwards compatibility, when namespace isn't specified in dataSourceRef, both fields (dataSource and dataSourceRef) will be set to the same value automatically if one of them is empty and the other is non-empty. When namespace is specified in dataSourceRef, dataSource isn't set to the same value and must be empty. There are three important differences between dataSource and dataSourceRef: * While dataSource only allows two specific types of objects, dataSourceRef\n allows any non-core object, as well as PersistentVolumeClaim objects.\n* While dataSource ignores disallowed values (dropping them), dataSourceRef\n preserves all values, and generates an error if a disallowed value is\n specified.\n* While dataSource only allows local objects, dataSourceRef allows objects\n in any namespaces.\n(Alpha) Using the namespace field of dataSourceRef requires the CrossNamespaceVolumeDataSource feature gate to be enabled.", Ref: ref(v1.TypedObjectReference{}.OpenAPIModelName()), }, }, @@ -15120,10 +15006,9 @@ func schema_k8sio_api_core_v1_PersistentVolumeClaimStatus(ref common.ReferenceCa Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", - Enum: []interface{}{"ReadOnlyMany", "ReadWriteMany", "ReadWriteOnce", "ReadWriteOncePod"}, + Type: []string{"string"}, + Format: "", + Enum: []interface{}{"ReadOnlyMany", "ReadWriteMany", "ReadWriteOnce", "ReadWriteOncePod"}, }, }, }, @@ -15160,8 +15045,7 @@ func schema_k8sio_api_core_v1_PersistentVolumeClaimStatus(ref common.ReferenceCa Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.PersistentVolumeClaimCondition{}.OpenAPIModelName()), + Ref: ref(v1.PersistentVolumeClaimCondition{}.OpenAPIModelName()), }, }, }, @@ -15194,10 +15078,9 @@ func schema_k8sio_api_core_v1_PersistentVolumeClaimStatus(ref common.ReferenceCa Allows: true, Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", - Enum: []interface{}{"ControllerResizeInProgress", "ControllerResizeInfeasible", "NodeResizeInProgress", "NodeResizeInfeasible", "NodeResizePending"}, + Type: []string{"string"}, + Format: "", + Enum: []interface{}{"ControllerResizeInProgress", "ControllerResizeInfeasible", "NodeResizeInProgress", "NodeResizeInfeasible", "NodeResizePending"}, }, }, }, @@ -15318,8 +15201,7 @@ func schema_k8sio_api_core_v1_PersistentVolumeList(ref common.ReferenceCallback) Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.PersistentVolume{}.OpenAPIModelName()), + Ref: ref(v1.PersistentVolume{}.OpenAPIModelName()), }, }, }, @@ -15646,10 +15528,9 @@ func schema_k8sio_api_core_v1_PersistentVolumeSpec(ref common.ReferenceCallback) Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", - Enum: []interface{}{"ReadOnlyMany", "ReadWriteMany", "ReadWriteOnce", "ReadWriteOncePod"}, + Type: []string{"string"}, + Format: "", + Enum: []interface{}{"ReadOnlyMany", "ReadWriteMany", "ReadWriteOnce", "ReadWriteOncePod"}, }, }, }, @@ -15693,9 +15574,8 @@ func schema_k8sio_api_core_v1_PersistentVolumeSpec(ref common.ReferenceCallback) Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -15871,8 +15751,7 @@ func schema_k8sio_api_core_v1_PodAffinity(ref common.ReferenceCallback) common.O Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.PodAffinityTerm{}.OpenAPIModelName()), + Ref: ref(v1.PodAffinityTerm{}.OpenAPIModelName()), }, }, }, @@ -15890,8 +15769,7 @@ func schema_k8sio_api_core_v1_PodAffinity(ref common.ReferenceCallback) common.O Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.WeightedPodAffinityTerm{}.OpenAPIModelName()), + Ref: ref(v1.WeightedPodAffinityTerm{}.OpenAPIModelName()), }, }, }, @@ -15930,9 +15808,8 @@ func schema_k8sio_api_core_v1_PodAffinityTerm(ref common.ReferenceCallback) comm Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -15964,9 +15841,8 @@ func schema_k8sio_api_core_v1_PodAffinityTerm(ref common.ReferenceCallback) comm Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -15984,9 +15860,8 @@ func schema_k8sio_api_core_v1_PodAffinityTerm(ref common.ReferenceCallback) comm Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -16020,8 +15895,7 @@ func schema_k8sio_api_core_v1_PodAntiAffinity(ref common.ReferenceCallback) comm Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.PodAffinityTerm{}.OpenAPIModelName()), + Ref: ref(v1.PodAffinityTerm{}.OpenAPIModelName()), }, }, }, @@ -16039,8 +15913,7 @@ func schema_k8sio_api_core_v1_PodAntiAffinity(ref common.ReferenceCallback) comm Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.WeightedPodAffinityTerm{}.OpenAPIModelName()), + Ref: ref(v1.WeightedPodAffinityTerm{}.OpenAPIModelName()), }, }, }, @@ -16173,9 +16046,8 @@ func schema_k8sio_api_core_v1_PodCertificateProjection(ref common.ReferenceCallb Allows: true, Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -16272,9 +16144,8 @@ func schema_k8sio_api_core_v1_PodDNSConfig(ref common.ReferenceCallback) common. Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -16292,9 +16163,8 @@ func schema_k8sio_api_core_v1_PodDNSConfig(ref common.ReferenceCallback) common. Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -16312,8 +16182,7 @@ func schema_k8sio_api_core_v1_PodDNSConfig(ref common.ReferenceCallback) common. Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.PodDNSConfigOption{}.OpenAPIModelName()), + Ref: ref(v1.PodDNSConfigOption{}.OpenAPIModelName()), }, }, }, @@ -16422,9 +16291,8 @@ func schema_k8sio_api_core_v1_PodExecOptions(ref common.ReferenceCallback) commo Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -16456,8 +16324,7 @@ func schema_k8sio_api_core_v1_PodExtendedResourceClaimStatus(ref common.Referenc Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.ContainerExtendedResourceRequest{}.OpenAPIModelName()), + Ref: ref(v1.ContainerExtendedResourceRequest{}.OpenAPIModelName()), }, }, }, @@ -16537,8 +16404,7 @@ func schema_k8sio_api_core_v1_PodList(ref common.ReferenceCallback) common.OpenA Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.Pod{}.OpenAPIModelName()), + Ref: ref(v1.Pod{}.OpenAPIModelName()), }, }, }, @@ -16706,9 +16572,8 @@ func schema_k8sio_api_core_v1_PodPortForwardOptions(ref common.ReferenceCallback Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: 0, - Type: []string{"integer"}, - Format: "int32", + Type: []string{"integer"}, + Format: "int32", }, }, }, @@ -16946,9 +16811,8 @@ func schema_k8sio_api_core_v1_PodSecurityContext(ref common.ReferenceCallback) c Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: 0, - Type: []string{"integer"}, - Format: "int64", + Type: []string{"integer"}, + Format: "int64", }, }, }, @@ -16981,8 +16845,7 @@ func schema_k8sio_api_core_v1_PodSecurityContext(ref common.ReferenceCallback) c Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.Sysctl{}.OpenAPIModelName()), + Ref: ref(v1.Sysctl{}.OpenAPIModelName()), }, }, }, @@ -17010,7 +16873,7 @@ func schema_k8sio_api_core_v1_PodSecurityContext(ref common.ReferenceCallback) c }, "seLinuxChangePolicy": { SchemaProps: spec.SchemaProps{ - Description: "seLinuxChangePolicy defines how the container's SELinux label is applied to all volumes used by the Pod. It has no effect on nodes that do not support SELinux or to volumes does not support SELinux. Valid values are \"MountOption\" and \"Recursive\".\n\n\"Recursive\" means relabeling of all files on all Pod volumes by the container runtime. This may be slow for large volumes, but allows mixing privileged and unprivileged Pods sharing the same volume on the same node.\n\n\"MountOption\" mounts all eligible Pod volumes with `-o context` mount option. This requires all Pods that share the same volume to use the same SELinux label. It is not possible to share the same volume among privileged and unprivileged Pods. Eligible volumes are in-tree FibreChannel and iSCSI volumes, and all CSI volumes whose CSI driver announces SELinux support by setting spec.seLinuxMount: true in their CSIDriver instance. Other volumes are always re-labelled recursively. \"MountOption\" value is allowed only when SELinuxMount feature gate is enabled.\n\nIf not specified and SELinuxMount feature gate is enabled, \"MountOption\" is used. If not specified and SELinuxMount feature gate is disabled, \"MountOption\" is used for ReadWriteOncePod volumes and \"Recursive\" for all other volumes.\n\nThis field affects only Pods that have SELinux label set, either in PodSecurityContext or in SecurityContext of all containers.\n\nAll Pods that use the same volume should use the same seLinuxChangePolicy, otherwise some pods can get stuck in ContainerCreating state. Note that this field cannot be set when spec.os.name is windows.", + Description: "seLinuxChangePolicy defines how the container's SELinux label is applied to all volumes used by the Pod. It has no effect on nodes that do not support SELinux or to volumes does not support SELinux. Valid values are \"MountOption\" and \"Recursive\".\n\n\"Recursive\" means relabeling of all files on all Pod volumes by the container runtime. This may be slow for large volumes, but allows mixing privileged and unprivileged Pods sharing the same volume on the same node.\n\n\"MountOption\" mounts all eligible Pod volumes with `-o context` mount option. This requires all Pods that share the same volume to use the same SELinux label. It is not possible to share the same volume among privileged and unprivileged Pods. Eligible volumes are in-tree FibreChannel and iSCSI volumes, and all CSI volumes whose CSI driver announces SELinux support by setting spec.seLinuxMount: true in their CSIDriver instance. Other volumes are always re-labelled recursively.\n\nIf not specified, \"MountOption\" is used.\n\nThis field affects only Pods that have SELinux label set, either in PodSecurityContext or in SecurityContext of all containers.\n\nAll Pods that use the same volume should use the same seLinuxChangePolicy, otherwise some pods can get stuck in ContainerCreating state. Note that this field cannot be set when spec.os.name is windows.", Type: []string{"string"}, Format: "", }, @@ -17068,8 +16931,7 @@ func schema_k8sio_api_core_v1_PodSpec(ref common.ReferenceCallback) common.OpenA Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.Volume{}.OpenAPIModelName()), + Ref: ref(v1.Volume{}.OpenAPIModelName()), }, }, }, @@ -17092,8 +16954,7 @@ func schema_k8sio_api_core_v1_PodSpec(ref common.ReferenceCallback) common.OpenA Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.Container{}.OpenAPIModelName()), + Ref: ref(v1.Container{}.OpenAPIModelName()), }, }, }, @@ -17116,8 +16977,7 @@ func schema_k8sio_api_core_v1_PodSpec(ref common.ReferenceCallback) common.OpenA Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.Container{}.OpenAPIModelName()), + Ref: ref(v1.Container{}.OpenAPIModelName()), }, }, }, @@ -17140,8 +17000,7 @@ func schema_k8sio_api_core_v1_PodSpec(ref common.ReferenceCallback) common.OpenA Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.EphemeralContainer{}.OpenAPIModelName()), + Ref: ref(v1.EphemeralContainer{}.OpenAPIModelName()), }, }, }, @@ -17190,9 +17049,8 @@ func schema_k8sio_api_core_v1_PodSpec(ref common.ReferenceCallback) common.OpenA Allows: true, Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -17277,8 +17135,7 @@ func schema_k8sio_api_core_v1_PodSpec(ref common.ReferenceCallback) common.OpenA Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.LocalObjectReference{}.OpenAPIModelName()), + Ref: ref(v1.LocalObjectReference{}.OpenAPIModelName()), }, }, }, @@ -17323,8 +17180,7 @@ func schema_k8sio_api_core_v1_PodSpec(ref common.ReferenceCallback) common.OpenA Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.Toleration{}.OpenAPIModelName()), + Ref: ref(v1.Toleration{}.OpenAPIModelName()), }, }, }, @@ -17347,8 +17203,7 @@ func schema_k8sio_api_core_v1_PodSpec(ref common.ReferenceCallback) common.OpenA Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.HostAlias{}.OpenAPIModelName()), + Ref: ref(v1.HostAlias{}.OpenAPIModelName()), }, }, }, @@ -17386,8 +17241,7 @@ func schema_k8sio_api_core_v1_PodSpec(ref common.ReferenceCallback) common.OpenA Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.PodReadinessGate{}.OpenAPIModelName()), + Ref: ref(v1.PodReadinessGate{}.OpenAPIModelName()), }, }, }, @@ -17409,7 +17263,7 @@ func schema_k8sio_api_core_v1_PodSpec(ref common.ReferenceCallback) common.OpenA }, "preemptionPolicy": { SchemaProps: spec.SchemaProps{ - Description: "PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset.\n\nPossible enum values:\n - `\"Never\"` means that pod never preempts other pods with lower priority.\n - `\"PreemptLowerPriority\"` means that pod can preempt other pods with lower priority.", + Description: "PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. Defaults to PreemptLowerPriority if unset.\n\nPossible enum values:\n - `\"Never\"` means that pod never preempts other pods with lower priority.\n - `\"PreemptLowerPriority\"` means that pod can preempt other pods with lower priority.", Type: []string{"string"}, Format: "", Enum: []interface{}{"Never", "PreemptLowerPriority"}, @@ -17447,8 +17301,7 @@ func schema_k8sio_api_core_v1_PodSpec(ref common.ReferenceCallback) common.OpenA Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.TopologySpreadConstraint{}.OpenAPIModelName()), + Ref: ref(v1.TopologySpreadConstraint{}.OpenAPIModelName()), }, }, }, @@ -17491,8 +17344,7 @@ func schema_k8sio_api_core_v1_PodSpec(ref common.ReferenceCallback) common.OpenA Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.PodSchedulingGate{}.OpenAPIModelName()), + Ref: ref(v1.PodSchedulingGate{}.OpenAPIModelName()), }, }, }, @@ -17515,8 +17367,7 @@ func schema_k8sio_api_core_v1_PodSpec(ref common.ReferenceCallback) common.OpenA Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.PodResourceClaim{}.OpenAPIModelName()), + Ref: ref(v1.PodResourceClaim{}.OpenAPIModelName()), }, }, }, @@ -17589,8 +17440,7 @@ func schema_k8sio_api_core_v1_PodStatus(ref common.ReferenceCallback) common.Ope Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.PodCondition{}.OpenAPIModelName()), + Ref: ref(v1.PodCondition{}.OpenAPIModelName()), }, }, }, @@ -17638,8 +17488,7 @@ func schema_k8sio_api_core_v1_PodStatus(ref common.ReferenceCallback) common.Ope Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.HostIP{}.OpenAPIModelName()), + Ref: ref(v1.HostIP{}.OpenAPIModelName()), }, }, }, @@ -17669,8 +17518,7 @@ func schema_k8sio_api_core_v1_PodStatus(ref common.ReferenceCallback) common.Ope Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.PodIP{}.OpenAPIModelName()), + Ref: ref(v1.PodIP{}.OpenAPIModelName()), }, }, }, @@ -17694,8 +17542,7 @@ func schema_k8sio_api_core_v1_PodStatus(ref common.ReferenceCallback) common.Ope Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.ContainerStatus{}.OpenAPIModelName()), + Ref: ref(v1.ContainerStatus{}.OpenAPIModelName()), }, }, }, @@ -17713,8 +17560,7 @@ func schema_k8sio_api_core_v1_PodStatus(ref common.ReferenceCallback) common.Ope Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.ContainerStatus{}.OpenAPIModelName()), + Ref: ref(v1.ContainerStatus{}.OpenAPIModelName()), }, }, }, @@ -17740,8 +17586,7 @@ func schema_k8sio_api_core_v1_PodStatus(ref common.ReferenceCallback) common.Ope Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.ContainerStatus{}.OpenAPIModelName()), + Ref: ref(v1.ContainerStatus{}.OpenAPIModelName()), }, }, }, @@ -17771,8 +17616,7 @@ func schema_k8sio_api_core_v1_PodStatus(ref common.ReferenceCallback) common.Ope Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.PodResourceClaimStatus{}.OpenAPIModelName()), + Ref: ref(v1.PodResourceClaimStatus{}.OpenAPIModelName()), }, }, }, @@ -17816,8 +17660,7 @@ func schema_k8sio_api_core_v1_PodStatus(ref common.ReferenceCallback) common.Ope Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.NodeAllocatableResourceClaimStatus{}.OpenAPIModelName()), + Ref: ref(v1.NodeAllocatableResourceClaimStatus{}.OpenAPIModelName()), }, }, }, @@ -17831,49 +17674,6 @@ func schema_k8sio_api_core_v1_PodStatus(ref common.ReferenceCallback) common.Ope } } -func schema_k8sio_api_core_v1_PodStatusResult(ref common.ReferenceCallback) common.OpenAPIDefinition { - return common.OpenAPIDefinition{ - Schema: spec.Schema{ - SchemaProps: spec.SchemaProps{ - Description: "PodStatusResult is a wrapper for PodStatus returned by kubelet that can be encode/decoded", - Type: []string{"object"}, - Properties: map[string]spec.Schema{ - "kind": { - SchemaProps: spec.SchemaProps{ - Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - Type: []string{"string"}, - Format: "", - }, - }, - "apiVersion": { - SchemaProps: spec.SchemaProps{ - Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - Type: []string{"string"}, - Format: "", - }, - }, - "metadata": { - SchemaProps: spec.SchemaProps{ - Description: "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", - Default: map[string]interface{}{}, - Ref: ref(metav1.ObjectMeta{}.OpenAPIModelName()), - }, - }, - "status": { - SchemaProps: spec.SchemaProps{ - Description: "Most recently observed status of the pod. This data may not be up to date. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status", - Default: map[string]interface{}{}, - Ref: ref(v1.PodStatus{}.OpenAPIModelName()), - }, - }, - }, - }, - }, - Dependencies: []string{ - v1.PodStatus{}.OpenAPIModelName(), metav1.ObjectMeta{}.OpenAPIModelName()}, - } -} - func schema_k8sio_api_core_v1_PodTemplate(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ @@ -17952,8 +17752,7 @@ func schema_k8sio_api_core_v1_PodTemplateList(ref common.ReferenceCallback) comm Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.PodTemplate{}.OpenAPIModelName()), + Ref: ref(v1.PodTemplate{}.OpenAPIModelName()), }, }, }, @@ -18284,8 +18083,7 @@ func schema_k8sio_api_core_v1_ProjectedVolumeSource(ref common.ReferenceCallback Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.VolumeProjection{}.OpenAPIModelName()), + Ref: ref(v1.VolumeProjection{}.OpenAPIModelName()), }, }, }, @@ -18383,9 +18181,8 @@ func schema_k8sio_api_core_v1_RBDPersistentVolumeSource(ref common.ReferenceCall Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -18471,9 +18268,8 @@ func schema_k8sio_api_core_v1_RBDVolumeSource(ref common.ReferenceCallback) comm Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -18729,8 +18525,7 @@ func schema_k8sio_api_core_v1_ReplicationControllerList(ref common.ReferenceCall Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.ReplicationController{}.OpenAPIModelName()), + Ref: ref(v1.ReplicationController{}.OpenAPIModelName()), }, }, }, @@ -18781,9 +18576,8 @@ func schema_k8sio_api_core_v1_ReplicationControllerSpec(ref common.ReferenceCall Allows: true, Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -18863,8 +18657,7 @@ func schema_k8sio_api_core_v1_ReplicationControllerStatus(ref common.ReferenceCa Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.ReplicationControllerCondition{}.OpenAPIModelName()), + Ref: ref(v1.ReplicationControllerCondition{}.OpenAPIModelName()), }, }, }, @@ -19071,8 +18864,7 @@ func schema_k8sio_api_core_v1_ResourceQuotaList(ref common.ReferenceCallback) co Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.ResourceQuota{}.OpenAPIModelName()), + Ref: ref(v1.ResourceQuota{}.OpenAPIModelName()), }, }, }, @@ -19120,10 +18912,9 @@ func schema_k8sio_api_core_v1_ResourceQuotaSpec(ref common.ReferenceCallback) co Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", - Enum: []interface{}{"BestEffort", "CrossNamespacePodAffinity", "NotBestEffort", "NotTerminating", "PriorityClass", "Terminating", "VolumeAttributesClass"}, + Type: []string{"string"}, + Format: "", + Enum: []interface{}{"BestEffort", "CrossNamespacePodAffinity", "NotBestEffort", "NotTerminating", "PriorityClass", "Terminating", "VolumeAttributesClass"}, }, }, }, @@ -19236,8 +19027,7 @@ func schema_k8sio_api_core_v1_ResourceRequirements(ref common.ReferenceCallback) Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.ResourceClaim{}.OpenAPIModelName()), + Ref: ref(v1.ResourceClaim{}.OpenAPIModelName()), }, }, }, @@ -19281,8 +19071,7 @@ func schema_k8sio_api_core_v1_ResourceStatus(ref common.ReferenceCallback) commo Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.ResourceHealth{}.OpenAPIModelName()), + Ref: ref(v1.ResourceHealth{}.OpenAPIModelName()), }, }, }, @@ -19535,8 +19324,7 @@ func schema_k8sio_api_core_v1_ScopeSelector(ref common.ReferenceCallback) common Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.ScopedResourceSelectorRequirement{}.OpenAPIModelName()), + Ref: ref(v1.ScopedResourceSelectorRequirement{}.OpenAPIModelName()), }, }, }, @@ -19592,9 +19380,8 @@ func schema_k8sio_api_core_v1_ScopedResourceSelectorRequirement(ref common.Refer Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -19707,9 +19494,8 @@ func schema_k8sio_api_core_v1_Secret(ref common.ReferenceCallback) common.OpenAP Allows: true, Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -19835,8 +19621,7 @@ func schema_k8sio_api_core_v1_SecretList(ref common.ReferenceCallback) common.Op Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.Secret{}.OpenAPIModelName()), + Ref: ref(v1.Secret{}.OpenAPIModelName()), }, }, }, @@ -19878,8 +19663,7 @@ func schema_k8sio_api_core_v1_SecretProjection(ref common.ReferenceCallback) com Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.KeyToPath{}.OpenAPIModelName()), + Ref: ref(v1.KeyToPath{}.OpenAPIModelName()), }, }, }, @@ -19958,8 +19742,7 @@ func schema_k8sio_api_core_v1_SecretVolumeSource(ref common.ReferenceCallback) c Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.KeyToPath{}.OpenAPIModelName()), + Ref: ref(v1.KeyToPath{}.OpenAPIModelName()), }, }, }, @@ -20213,8 +19996,7 @@ func schema_k8sio_api_core_v1_ServiceAccount(ref common.ReferenceCallback) commo Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.ObjectReference{}.OpenAPIModelName()), + Ref: ref(v1.ObjectReference{}.OpenAPIModelName()), }, }, }, @@ -20232,8 +20014,7 @@ func schema_k8sio_api_core_v1_ServiceAccount(ref common.ReferenceCallback) commo Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.LocalObjectReference{}.OpenAPIModelName()), + Ref: ref(v1.LocalObjectReference{}.OpenAPIModelName()), }, }, }, @@ -20289,8 +20070,7 @@ func schema_k8sio_api_core_v1_ServiceAccountList(ref common.ReferenceCallback) c Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.ServiceAccount{}.OpenAPIModelName()), + Ref: ref(v1.ServiceAccount{}.OpenAPIModelName()), }, }, }, @@ -20376,8 +20156,7 @@ func schema_k8sio_api_core_v1_ServiceList(ref common.ReferenceCallback) common.O Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.Service{}.OpenAPIModelName()), + Ref: ref(v1.Service{}.OpenAPIModelName()), }, }, }, @@ -20511,8 +20290,7 @@ func schema_k8sio_api_core_v1_ServiceSpec(ref common.ReferenceCallback) common.O Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.ServicePort{}.OpenAPIModelName()), + Ref: ref(v1.ServicePort{}.OpenAPIModelName()), }, }, }, @@ -20531,9 +20309,8 @@ func schema_k8sio_api_core_v1_ServiceSpec(ref common.ReferenceCallback) common.O Allows: true, Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -20558,9 +20335,8 @@ func schema_k8sio_api_core_v1_ServiceSpec(ref common.ReferenceCallback) common.O Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -20586,9 +20362,8 @@ func schema_k8sio_api_core_v1_ServiceSpec(ref common.ReferenceCallback) common.O Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -20621,9 +20396,8 @@ func schema_k8sio_api_core_v1_ServiceSpec(ref common.ReferenceCallback) common.O Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -20676,10 +20450,9 @@ func schema_k8sio_api_core_v1_ServiceSpec(ref common.ReferenceCallback) common.O Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", - Enum: []interface{}{"", "IPv4", "IPv6"}, + Type: []string{"string"}, + Format: "", + Enum: []interface{}{"", "IPv4", "IPv6"}, }, }, }, @@ -20761,8 +20534,7 @@ func schema_k8sio_api_core_v1_ServiceStatus(ref common.ReferenceCallback) common Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(metav1.Condition{}.OpenAPIModelName()), + Ref: ref(metav1.Condition{}.OpenAPIModelName()), }, }, }, @@ -21099,9 +20871,8 @@ func schema_k8sio_api_core_v1_TopologySelectorLabelRequirement(ref common.Refere Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -21133,8 +20904,7 @@ func schema_k8sio_api_core_v1_TopologySelectorTerm(ref common.ReferenceCallback) Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(v1.TopologySelectorLabelRequirement{}.OpenAPIModelName()), + Ref: ref(v1.TopologySelectorLabelRequirement{}.OpenAPIModelName()), }, }, }, @@ -21226,9 +20996,8 @@ func schema_k8sio_api_core_v1_TopologySpreadConstraint(ref common.ReferenceCallb Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -21594,7 +21363,7 @@ func schema_k8sio_api_core_v1_VolumeMount(ref common.ReferenceCallback) common.O }, "mountPath": { SchemaProps: spec.SchemaProps{ - Description: "Path within the container at which the volume should be mounted. Must not contain ':'.", + Description: "Path within the container at which the volume should be mounted.", Default: "", Type: []string{"string"}, Format: "", @@ -22184,8 +21953,7 @@ func schema_k8sio_api_networking_v1_HTTPIngressRuleValue(ref common.ReferenceCal Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(networkingv1.HTTPIngressPath{}.OpenAPIModelName()), + Ref: ref(networkingv1.HTTPIngressPath{}.OpenAPIModelName()), }, }, }, @@ -22223,7 +21991,7 @@ func schema_k8sio_api_networking_v1_IPAddress(ref common.ReferenceCallback) comm }, "metadata": { SchemaProps: spec.SchemaProps{ - Description: "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + Description: "metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", Default: map[string]interface{}{}, Ref: ref(metav1.ObjectMeta{}.OpenAPIModelName()), }, @@ -22279,8 +22047,7 @@ func schema_k8sio_api_networking_v1_IPAddressList(ref common.ReferenceCallback) Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(networkingv1.IPAddress{}.OpenAPIModelName()), + Ref: ref(networkingv1.IPAddress{}.OpenAPIModelName()), }, }, }, @@ -22304,7 +22071,7 @@ func schema_k8sio_api_networking_v1_IPAddressSpec(ref common.ReferenceCallback) Properties: map[string]spec.Schema{ "parentRef": { SchemaProps: spec.SchemaProps{ - Description: "ParentRef references the resource that an IPAddress is attached to. An IPAddress must reference a parent object.", + Description: "parentRef references the resource that an IPAddress is attached to. An IPAddress must reference a parent object.", Ref: ref(networkingv1.ParentReference{}.OpenAPIModelName()), }, }, @@ -22344,9 +22111,8 @@ func schema_k8sio_api_networking_v1_IPBlock(ref common.ReferenceCallback) common Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -22382,7 +22148,7 @@ func schema_k8sio_api_networking_v1_Ingress(ref common.ReferenceCallback) common }, "metadata": { SchemaProps: spec.SchemaProps{ - Description: "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + Description: "metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", Default: map[string]interface{}{}, Ref: ref(metav1.ObjectMeta{}.OpenAPIModelName()), }, @@ -22459,7 +22225,7 @@ func schema_k8sio_api_networking_v1_IngressClass(ref common.ReferenceCallback) c }, "metadata": { SchemaProps: spec.SchemaProps{ - Description: "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + Description: "metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", Default: map[string]interface{}{}, Ref: ref(metav1.ObjectMeta{}.OpenAPIModelName()), }, @@ -22514,8 +22280,7 @@ func schema_k8sio_api_networking_v1_IngressClassList(ref common.ReferenceCallbac Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(networkingv1.IngressClass{}.OpenAPIModelName()), + Ref: ref(networkingv1.IngressClass{}.OpenAPIModelName()), }, }, }, @@ -22644,8 +22409,7 @@ func schema_k8sio_api_networking_v1_IngressList(ref common.ReferenceCallback) co Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(networkingv1.Ingress{}.OpenAPIModelName()), + Ref: ref(networkingv1.Ingress{}.OpenAPIModelName()), }, }, }, @@ -22693,8 +22457,7 @@ func schema_k8sio_api_networking_v1_IngressLoadBalancerIngress(ref common.Refere Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(networkingv1.IngressPortStatus{}.OpenAPIModelName()), + Ref: ref(networkingv1.IngressPortStatus{}.OpenAPIModelName()), }, }, }, @@ -22727,8 +22490,7 @@ func schema_k8sio_api_networking_v1_IngressLoadBalancerStatus(ref common.Referen Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(networkingv1.IngressLoadBalancerIngress{}.OpenAPIModelName()), + Ref: ref(networkingv1.IngressLoadBalancerIngress{}.OpenAPIModelName()), }, }, }, @@ -22796,7 +22558,8 @@ func schema_k8sio_api_networking_v1_IngressRule(ref common.ReferenceCallback) co }, "http": { SchemaProps: spec.SchemaProps{ - Ref: ref(networkingv1.HTTPIngressRuleValue{}.OpenAPIModelName()), + Description: "http is a HTTP IngressRuleValue, which contains a list of http selectors", + Ref: ref(networkingv1.HTTPIngressRuleValue{}.OpenAPIModelName()), }, }, }, @@ -22816,7 +22579,8 @@ func schema_k8sio_api_networking_v1_IngressRuleValue(ref common.ReferenceCallbac Properties: map[string]spec.Schema{ "http": { SchemaProps: spec.SchemaProps{ - Ref: ref(networkingv1.HTTPIngressRuleValue{}.OpenAPIModelName()), + Description: "http is a HTTP IngressRuleValue, which contains a list of http selectors", + Ref: ref(networkingv1.HTTPIngressRuleValue{}.OpenAPIModelName()), }, }, }, @@ -22890,8 +22654,7 @@ func schema_k8sio_api_networking_v1_IngressSpec(ref common.ReferenceCallback) co Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(networkingv1.IngressTLS{}.OpenAPIModelName()), + Ref: ref(networkingv1.IngressTLS{}.OpenAPIModelName()), }, }, }, @@ -22909,8 +22672,7 @@ func schema_k8sio_api_networking_v1_IngressSpec(ref common.ReferenceCallback) co Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(networkingv1.IngressRule{}.OpenAPIModelName()), + Ref: ref(networkingv1.IngressRule{}.OpenAPIModelName()), }, }, }, @@ -22965,9 +22727,8 @@ func schema_k8sio_api_networking_v1_IngressTLS(ref common.ReferenceCallback) com Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -23009,7 +22770,7 @@ func schema_k8sio_api_networking_v1_NetworkPolicy(ref common.ReferenceCallback) }, "metadata": { SchemaProps: spec.SchemaProps{ - Description: "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + Description: "metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", Default: map[string]interface{}{}, Ref: ref(metav1.ObjectMeta{}.OpenAPIModelName()), }, @@ -23048,8 +22809,7 @@ func schema_k8sio_api_networking_v1_NetworkPolicyEgressRule(ref common.Reference Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(networkingv1.NetworkPolicyPort{}.OpenAPIModelName()), + Ref: ref(networkingv1.NetworkPolicyPort{}.OpenAPIModelName()), }, }, }, @@ -23067,8 +22827,7 @@ func schema_k8sio_api_networking_v1_NetworkPolicyEgressRule(ref common.Reference Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(networkingv1.NetworkPolicyPeer{}.OpenAPIModelName()), + Ref: ref(networkingv1.NetworkPolicyPeer{}.OpenAPIModelName()), }, }, }, @@ -23101,8 +22860,7 @@ func schema_k8sio_api_networking_v1_NetworkPolicyIngressRule(ref common.Referenc Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(networkingv1.NetworkPolicyPort{}.OpenAPIModelName()), + Ref: ref(networkingv1.NetworkPolicyPort{}.OpenAPIModelName()), }, }, }, @@ -23120,8 +22878,7 @@ func schema_k8sio_api_networking_v1_NetworkPolicyIngressRule(ref common.Referenc Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(networkingv1.NetworkPolicyPeer{}.OpenAPIModelName()), + Ref: ref(networkingv1.NetworkPolicyPeer{}.OpenAPIModelName()), }, }, }, @@ -23170,8 +22927,7 @@ func schema_k8sio_api_networking_v1_NetworkPolicyList(ref common.ReferenceCallba Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(networkingv1.NetworkPolicy{}.OpenAPIModelName()), + Ref: ref(networkingv1.NetworkPolicy{}.OpenAPIModelName()), }, }, }, @@ -23281,8 +23037,7 @@ func schema_k8sio_api_networking_v1_NetworkPolicySpec(ref common.ReferenceCallba Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(networkingv1.NetworkPolicyIngressRule{}.OpenAPIModelName()), + Ref: ref(networkingv1.NetworkPolicyIngressRule{}.OpenAPIModelName()), }, }, }, @@ -23300,8 +23055,7 @@ func schema_k8sio_api_networking_v1_NetworkPolicySpec(ref common.ReferenceCallba Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(networkingv1.NetworkPolicyEgressRule{}.OpenAPIModelName()), + Ref: ref(networkingv1.NetworkPolicyEgressRule{}.OpenAPIModelName()), }, }, }, @@ -23319,10 +23073,9 @@ func schema_k8sio_api_networking_v1_NetworkPolicySpec(ref common.ReferenceCallba Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", - Enum: []interface{}{"Egress", "Ingress"}, + Type: []string{"string"}, + Format: "", + Enum: []interface{}{"Egress", "Ingress"}, }, }, }, @@ -23345,28 +23098,28 @@ func schema_k8sio_api_networking_v1_ParentReference(ref common.ReferenceCallback Properties: map[string]spec.Schema{ "group": { SchemaProps: spec.SchemaProps{ - Description: "Group is the group of the object being referenced.", + Description: "group is the group of the object being referenced.", Type: []string{"string"}, Format: "", }, }, "resource": { SchemaProps: spec.SchemaProps{ - Description: "Resource is the resource of the object being referenced.", + Description: "resource is the resource of the object being referenced.", Type: []string{"string"}, Format: "", }, }, "namespace": { SchemaProps: spec.SchemaProps{ - Description: "Namespace is the namespace of the object being referenced.", + Description: "namespace is the namespace of the object being referenced.", Type: []string{"string"}, Format: "", }, }, "name": { SchemaProps: spec.SchemaProps{ - Description: "Name is the name of the object being referenced.", + Description: "name is the name of the object being referenced.", Type: []string{"string"}, Format: "", }, @@ -23433,7 +23186,7 @@ func schema_k8sio_api_networking_v1_ServiceCIDR(ref common.ReferenceCallback) co }, "metadata": { SchemaProps: spec.SchemaProps{ - Description: "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + Description: "metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", Default: map[string]interface{}{}, Ref: ref(metav1.ObjectMeta{}.OpenAPIModelName()), }, @@ -23495,8 +23248,7 @@ func schema_k8sio_api_networking_v1_ServiceCIDRList(ref common.ReferenceCallback Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(networkingv1.ServiceCIDR{}.OpenAPIModelName()), + Ref: ref(networkingv1.ServiceCIDR{}.OpenAPIModelName()), }, }, }, @@ -23525,14 +23277,13 @@ func schema_k8sio_api_networking_v1_ServiceCIDRSpec(ref common.ReferenceCallback }, }, SchemaProps: spec.SchemaProps{ - Description: "CIDRs defines the IP blocks in CIDR notation (e.g. \"192.168.0.0/24\" or \"2001:db8::/64\") from which to assign service cluster IPs. Max of two CIDRs is allowed, one of each IP family. This field is immutable.", + Description: "cidrs defines the IP blocks in CIDR notation (e.g. \"192.168.0.0/24\" or \"2001:db8::/64\") from which to assign service cluster IPs. Max of two CIDRs is allowed, one of each IP family. This field is immutable.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -23568,8 +23319,7 @@ func schema_k8sio_api_networking_v1_ServiceCIDRStatus(ref common.ReferenceCallba Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(metav1.Condition{}.OpenAPIModelName()), + Ref: ref(metav1.Condition{}.OpenAPIModelName()), }, }, }, @@ -23624,8 +23374,7 @@ func schema_pkg_apis_meta_v1_APIGroup(ref common.ReferenceCallback) common.OpenA Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(metav1.GroupVersionForDiscovery{}.OpenAPIModelName()), + Ref: ref(metav1.GroupVersionForDiscovery{}.OpenAPIModelName()), }, }, }, @@ -23650,8 +23399,7 @@ func schema_pkg_apis_meta_v1_APIGroup(ref common.ReferenceCallback) common.OpenA Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(metav1.ServerAddressByClientCIDR{}.OpenAPIModelName()), + Ref: ref(metav1.ServerAddressByClientCIDR{}.OpenAPIModelName()), }, }, }, @@ -23699,8 +23447,7 @@ func schema_pkg_apis_meta_v1_APIGroupList(ref common.ReferenceCallback) common.O Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(metav1.APIGroup{}.OpenAPIModelName()), + Ref: ref(metav1.APIGroup{}.OpenAPIModelName()), }, }, }, @@ -23775,9 +23522,8 @@ func schema_pkg_apis_meta_v1_APIResource(ref common.ReferenceCallback) common.Op Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -23795,9 +23541,8 @@ func schema_pkg_apis_meta_v1_APIResource(ref common.ReferenceCallback) common.Op Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -23815,9 +23560,8 @@ func schema_pkg_apis_meta_v1_APIResource(ref common.ReferenceCallback) common.Op Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -23878,8 +23622,7 @@ func schema_pkg_apis_meta_v1_APIResourceList(ref common.ReferenceCallback) commo Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(metav1.APIResource{}.OpenAPIModelName()), + Ref: ref(metav1.APIResource{}.OpenAPIModelName()), }, }, }, @@ -23927,9 +23670,8 @@ func schema_pkg_apis_meta_v1_APIVersions(ref common.ReferenceCallback) common.Op Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -23947,8 +23689,7 @@ func schema_pkg_apis_meta_v1_APIVersions(ref common.ReferenceCallback) common.Op Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(metav1.ServerAddressByClientCIDR{}.OpenAPIModelName()), + Ref: ref(metav1.ServerAddressByClientCIDR{}.OpenAPIModelName()), }, }, }, @@ -23996,9 +23737,8 @@ func schema_pkg_apis_meta_v1_ApplyOptions(ref common.ReferenceCallback) common.O Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -24121,9 +23861,8 @@ func schema_pkg_apis_meta_v1_CreateOptions(ref common.ReferenceCallback) common. Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -24209,9 +23948,8 @@ func schema_pkg_apis_meta_v1_DeleteOptions(ref common.ReferenceCallback) common. Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -24279,9 +24017,8 @@ func schema_pkg_apis_meta_v1_FieldSelectorRequirement(ref common.ReferenceCallba Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -24564,9 +24301,8 @@ func schema_pkg_apis_meta_v1_LabelSelector(ref common.ReferenceCallback) common. Allows: true, Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -24584,8 +24320,7 @@ func schema_pkg_apis_meta_v1_LabelSelector(ref common.ReferenceCallback) common. Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(metav1.LabelSelectorRequirement{}.OpenAPIModelName()), + Ref: ref(metav1.LabelSelectorRequirement{}.OpenAPIModelName()), }, }, }, @@ -24639,9 +24374,8 @@ func schema_pkg_apis_meta_v1_LabelSelectorRequirement(ref common.ReferenceCallba Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -25014,9 +24748,8 @@ func schema_pkg_apis_meta_v1_ObjectMeta(ref common.ReferenceCallback) common.Ope Allows: true, Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -25030,9 +24763,8 @@ func schema_pkg_apis_meta_v1_ObjectMeta(ref common.ReferenceCallback) common.Ope Allows: true, Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -25055,8 +24787,7 @@ func schema_pkg_apis_meta_v1_ObjectMeta(ref common.ReferenceCallback) common.Ope Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(metav1.OwnerReference{}.OpenAPIModelName()), + Ref: ref(metav1.OwnerReference{}.OpenAPIModelName()), }, }, }, @@ -25075,9 +24806,8 @@ func schema_pkg_apis_meta_v1_ObjectMeta(ref common.ReferenceCallback) common.Ope Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -25095,8 +24825,7 @@ func schema_pkg_apis_meta_v1_ObjectMeta(ref common.ReferenceCallback) common.Ope Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(metav1.ManagedFieldsEntry{}.OpenAPIModelName()), + Ref: ref(metav1.ManagedFieldsEntry{}.OpenAPIModelName()), }, }, }, @@ -25246,8 +24975,7 @@ func schema_pkg_apis_meta_v1_PartialObjectMetadataList(ref common.ReferenceCallb Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(metav1.PartialObjectMetadata{}.OpenAPIModelName()), + Ref: ref(metav1.PartialObjectMetadata{}.OpenAPIModelName()), }, }, }, @@ -25306,9 +25034,8 @@ func schema_pkg_apis_meta_v1_PatchOptions(ref common.ReferenceCallback) common.O Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -25387,9 +25114,8 @@ func schema_pkg_apis_meta_v1_RootPaths(ref common.ReferenceCallback) common.Open Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -25605,8 +25331,7 @@ func schema_pkg_apis_meta_v1_StatusDetails(ref common.ReferenceCallback) common. Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(metav1.StatusCause{}.OpenAPIModelName()), + Ref: ref(metav1.StatusCause{}.OpenAPIModelName()), }, }, }, @@ -25667,8 +25392,7 @@ func schema_pkg_apis_meta_v1_Table(ref common.ReferenceCallback) common.OpenAPID Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(metav1.TableColumnDefinition{}.OpenAPIModelName()), + Ref: ref(metav1.TableColumnDefinition{}.OpenAPIModelName()), }, }, }, @@ -25686,8 +25410,7 @@ func schema_pkg_apis_meta_v1_Table(ref common.ReferenceCallback) common.OpenAPID Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(metav1.TableRow{}.OpenAPIModelName()), + Ref: ref(metav1.TableRow{}.OpenAPIModelName()), }, }, }, @@ -25828,8 +25551,7 @@ func schema_pkg_apis_meta_v1_TableRow(ref common.ReferenceCallback) common.OpenA Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref(metav1.TableRowCondition{}.OpenAPIModelName()), + Ref: ref(metav1.TableRowCondition{}.OpenAPIModelName()), }, }, }, @@ -25996,9 +25718,8 @@ func schema_pkg_apis_meta_v1_UpdateOptions(ref common.ReferenceCallback) common. Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -26057,7 +25778,7 @@ func schema_k8sio_apimachinery_pkg_runtime_RawExtension(ref common.ReferenceCall return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ - Description: "RawExtension is used to hold extensions in external versions.\n\nTo use this, make a field which has RawExtension as its type in your external, versioned struct, and Object in your internal struct. You also need to register your various plugin types.\n\n// Internal package:\n\n\ttype MyAPIObject struct {\n\t\truntime.TypeMeta `json:\",inline\"`\n\t\tMyPlugin runtime.Object `json:\"myPlugin\"`\n\t}\n\n\ttype PluginA struct {\n\t\tAOption string `json:\"aOption\"`\n\t}\n\n// External package:\n\n\ttype MyAPIObject struct {\n\t\truntime.TypeMeta `json:\",inline\"`\n\t\tMyPlugin runtime.RawExtension `json:\"myPlugin\"`\n\t}\n\n\ttype PluginA struct {\n\t\tAOption string `json:\"aOption\"`\n\t}\n\n// On the wire, the JSON will look something like this:\n\n\t{\n\t\t\"kind\":\"MyAPIObject\",\n\t\t\"apiVersion\":\"v1\",\n\t\t\"myPlugin\": {\n\t\t\t\"kind\":\"PluginA\",\n\t\t\t\"aOption\":\"foo\",\n\t\t},\n\t}\n\nSo what happens? Decode first uses json or yaml to unmarshal the serialized data into your external MyAPIObject. That causes the raw JSON to be stored, but not unpacked. The next step is to copy (using pkg/conversion) into the internal struct. The runtime package's DefaultScheme has conversion functions installed which will unpack the JSON stored in RawExtension, turning it into the correct object type, and storing it in the Object. (TODO: In the case where the object is of an unknown type, a runtime.Unknown object will be created and stored.)", + Description: "RawExtension is used to hold extensions in external versions.\n\nTo use this, make a field which has RawExtension as its type in your external, versioned struct, and Object in your internal struct. You also need to register your various plugin types.\n\n// Internal package:\n\n\ttype MyAPIObject struct {\n\t\truntime.TypeMeta `json:\"\"`\n\t\tMyPlugin runtime.Object `json:\"myPlugin\"`\n\t}\n\n\ttype PluginA struct {\n\t\tAOption string `json:\"aOption\"`\n\t}\n\n// External package:\n\n\ttype MyAPIObject struct {\n\t\truntime.TypeMeta `json:\"\"`\n\t\tMyPlugin runtime.RawExtension `json:\"myPlugin\"`\n\t}\n\n\ttype PluginA struct {\n\t\tAOption string `json:\"aOption\"`\n\t}\n\n// On the wire, the JSON will look something like this:\n\n\t{\n\t\t\"kind\":\"MyAPIObject\",\n\t\t\"apiVersion\":\"v1\",\n\t\t\"myPlugin\": {\n\t\t\t\"kind\":\"PluginA\",\n\t\t\t\"aOption\":\"foo\",\n\t\t},\n\t}\n\nSo what happens? Decode first uses json or yaml to unmarshal the serialized data into your external MyAPIObject. That causes the raw JSON to be stored, but not unpacked. The next step is to copy (using pkg/conversion) into the internal struct. The runtime package's DefaultScheme has conversion functions installed which will unpack the JSON stored in RawExtension, turning it into the correct object type, and storing it in the Object. (TODO: In the case where the object is of an unknown type, a runtime.Unknown object will be created and stored.)", Type: []string{"object"}, }, }, @@ -26068,7 +25789,7 @@ func schema_k8sio_apimachinery_pkg_runtime_TypeMeta(ref common.ReferenceCallback return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ - Description: "TypeMeta is shared by all top level objects. The proper way to use it is to inline it in your type, like this:\n\n\ttype MyAwesomeAPIObject struct {\n\t runtime.TypeMeta `json:\",inline\"`\n\t ... // other fields\n\t}\n\nfunc (obj *MyAwesomeAPIObject) SetGroupVersionKind(gvk *metav1.GroupVersionKind) { metav1.UpdateTypeMeta(obj,gvk) }; GroupVersionKind() *GroupVersionKind\n\nTypeMeta is provided here for convenience. You may use it directly from this package or define your own with the same fields.", + Description: "TypeMeta is shared by all top level objects. The proper way to use it is to inline it in your type, like this:\n\n\ttype MyAwesomeAPIObject struct {\n\t runtime.TypeMeta `json:\"\"`\n\t ... // other fields\n\t}\n\nfunc (obj *MyAwesomeAPIObject) SetGroupVersionKind(gvk *metav1.GroupVersionKind) { metav1.UpdateTypeMeta(obj,gvk) }; GroupVersionKind() *GroupVersionKind\n\nTypeMeta is provided here for convenience. You may use it directly from this package or define your own with the same fields.", Type: []string{"object"}, Properties: map[string]spec.Schema{ "apiVersion": {